summary refs log tree commit diff stats
path: root/svc/query.go
diff options
context:
space:
mode:
Diffstat (limited to 'svc/query.go')
-rw-r--r--svc/query.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/svc/query.go b/svc/query.go
index 7047df3..8f22838 100644
--- a/svc/query.go
+++ b/svc/query.go
@@ -61,7 +61,7 @@ func dedupe(list []string) []string {
 // appending each entry to a byte slice, and adding
 // newlines where appropriate.
 func parseQueryOut(out []string) []byte {
-	var data []byte
+	data := make([]byte, 0)
 
 	for i, e := range out {
 		data = append(data, []byte(e)...)