Updated Vendoring

This commit is contained in:
Suraj Narwade
2017-04-27 21:38:38 +05:30
parent 605d643a84
commit 1eb162d697
77 changed files with 2293 additions and 1354 deletions
+2 -1
View File
@@ -249,8 +249,9 @@ func toStrings(s []interface{}) ([]string, error) {
func toMap(s []string, sep string) map[string]string {
m := map[string]string{}
for _, v := range s {
// Return everything past first sep
values := strings.Split(v, sep)
m[values[0]] = values[1]
m[values[0]] = strings.SplitN(v, sep, 2)[1]
}
return m
}