summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/addon/addon.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/addon/addon.go b/system/addon/addon.go
index 5f9778e..22e2114 100644
--- a/system/addon/addon.go
+++ b/system/addon/addon.go
@@ -187,7 +187,7 @@ func reverseDNS(meta Meta) (string, error) {
// reverse the host name parts, split on '.', ex. bosssauce.it => it.bosssauce
parts := strings.Split(u.Host, ".")
- strap := make([]string, len(parts), len(parts))
+ strap := make([]string, 0, len(parts))
for i := len(parts) - 1; i >= 0; i-- {
strap = append(strap, parts[i])
}