mirror of
https://github.com/stefanprodan/podinfo.git
synced 2026-08-19 04:06:27 +00:00
remove string double quotes
This commit is contained in:
@@ -101,7 +101,7 @@ func filesToMap(dir string) (map[string]string, error) {
|
||||
for s.Scan() {
|
||||
kv := strings.Split(s.Text(), "=")
|
||||
if len(kv) > 1 {
|
||||
list[kv[0]] = kv[1]
|
||||
list[kv[0]] = strings.Replace(kv[1], "\"", "", -1)
|
||||
} else {
|
||||
list[kv[0]] = ""
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user