Merge pull request #1848 from mssola/unconvert

Used 'unconvert' to remove unneeded conversions
This commit is contained in:
James Phillips 2016-03-18 17:24:36 -07:00
commit f2740b447d
2 changed files with 2 additions and 2 deletions

View File

@ -108,7 +108,7 @@ func (c *MembersCommand) Run(args []string) int {
// Generate the columnized version
output := columnize.SimpleFormat(result)
c.Ui.Output(string(output))
c.Ui.Output(output)
return 0
}

View File

@ -384,7 +384,7 @@ func (s *TestServer) GetKV(key string) []byte {
s.t.Fatalf("err: %s", err)
}
return []byte(v)
return v
}
// PopulateKV fills the Consul KV with data from a generic map.