Do some gofmt simplifications

This commit is contained in:
James Shubin
2016-07-25 20:56:33 -04:00
parent c1605a4f22
commit e28c1266cf
5 changed files with 8 additions and 8 deletions

View File

@@ -1142,7 +1142,7 @@ func (obj *EmbdEtcd) volunteerCallback(re *RE) error {
}
volunteers := []string{} // get keys
for k, _ := range volunteersMap {
for k := range volunteersMap {
volunteers = append(volunteers, k)
}
sort.Strings(volunteers) // deterministic order