Skip to content

Commit

Permalink
Rename param to namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
wtrocki committed Jan 11, 2018
1 parent ee509e7 commit 6088079
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/cmd/clientConfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ kubectl plugin mobile get clientconfig`,

outputJSON := ServiceConfigs{
Services: ret,
Name: namespace,
Namespace: namespace,
}

encoder := json.NewEncoder(os.Stdout)
Expand Down
2 changes: 1 addition & 1 deletion pkg/cmd/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ type SecretConvertor interface {

type ServiceConfigs struct {
Services []*ServiceConfig `json:"services"`
Name string `json:"name"`
Namespace string `json:"namespace"`
}

type ServiceConfig struct {
Expand Down

0 comments on commit 6088079

Please sign in to comment.