Skip to content

Commit

Permalink
Replace nested object delimiter from '.' to '_'
Browse files Browse the repository at this point in the history
  • Loading branch information
h0tbird committed May 9, 2017
1 parent 4697d50 commit 1165e15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kubewatch.go
Original file line number Diff line number Diff line change
Expand Up @@ -308,9 +308,9 @@ func listNamespaces() (list []string) {

func flatten(r strIfce, p string, v reflect.Value) {

// Append '.' to prefix:
// Append '_' to prefix:
if p != "" {
p = p + "."
p = p + "_"
}

// Set the value:
Expand Down

0 comments on commit 1165e15

Please sign in to comment.