File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
cmd/kubeadm/app/apis/kubeadm Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -31,8 +31,8 @@ import (
31
31
// of view and as an authentication method for the node in the bootstrap phase of
32
32
// "kubeadm join". This token is and should be short-lived
33
33
type BootstrapTokenString struct {
34
- ID string
35
- Secret string
34
+ ID string `json:"-"`
35
+ Secret string `json:"-"`
36
36
}
37
37
38
38
// MarshalJSON implements the json.Marshaler interface.
Original file line number Diff line number Diff line change @@ -31,8 +31,8 @@ import (
31
31
// of view and as an authentication method for the node in the bootstrap phase of
32
32
// "kubeadm join". This token is and should be short-lived
33
33
type BootstrapTokenString struct {
34
- ID string
35
- Secret string
34
+ ID string `json:"-"`
35
+ Secret string `json:"-"`
36
36
}
37
37
38
38
// MarshalJSON implements the json.Marshaler interface.
You can’t perform that action at this time.
0 commit comments