Set some default values and add some additional comments for clarity.
This commit is contained in:
@@ -35,10 +35,15 @@ func init() {
|
||||
obj.LabelSelector = labels.Everything()
|
||||
obj.FieldSelector = fields.Everything()
|
||||
},
|
||||
// TODO: see about moving this into v1/defaults.go
|
||||
func(obj *PodExecOptions) {
|
||||
obj.Stderr = true
|
||||
obj.Stdout = true
|
||||
},
|
||||
func(obj *PodAttachOptions) {
|
||||
obj.Stderr = true
|
||||
obj.Stdout = true
|
||||
},
|
||||
)
|
||||
Scheme.AddConversionFuncs(
|
||||
func(in *util.Time, out *util.Time, s conversion.Scope) error {
|
||||
|
Reference in New Issue
Block a user