Skip to content

Commit 6088079

Browse files
committed
Rename param to namespace
1 parent ee509e7 commit 6088079

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/cmd/clientConfig.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ kubectl plugin mobile get clientconfig`,
7575

7676
outputJSON := ServiceConfigs{
7777
Services: ret,
78-
Name: namespace,
78+
Namespace: namespace,
7979
}
8080

8181
encoder := json.NewEncoder(os.Stdout)

pkg/cmd/types.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ type SecretConvertor interface {
6363

6464
type ServiceConfigs struct {
6565
Services []*ServiceConfig `json:"services"`
66-
Name string `json:"name"`
66+
Namespace string `json:"namespace"`
6767
}
6868

6969
type ServiceConfig struct {

0 commit comments

Comments
 (0)