Skip to content

Commit

Permalink
Coerce values to strings instead of byte slice
Browse files Browse the repository at this point in the history
  • Loading branch information
armon committed Apr 27, 2014
1 parent d4796db commit 19b8037
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consul/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func (c *Client) GetValues(keys []string) (map[string]interface{}, error) {
return vars, err
}
for _, p := range pairs {
vars[p.Key] = p.Value
vars[p.Key] = string(p.Value)
}
}
return vars, nil
Expand Down

0 comments on commit 19b8037

Please sign in to comment.