Browse Source

Fixed: ./utils.go:309:8: no new variables on left side of :=

Rufus Deponian 6 years ago
parent
commit
ddcb34a598
1 changed files with 1 additions and 1 deletions
  1. 1 1
      utils.go

+ 1 - 1
utils.go

@@ -306,7 +306,7 @@ func getRoles(config *configparser.Configuration) api12Models.Roles {
 	checkErr(err)
 
 	roles := append(heads, openstack_users...)
-	roles := append(roles, openstack_admins...)
+	roles = append(roles, openstack_admins...)
 
 	return roles
 }