Set some default values and add some additional comments for clarity.

This commit is contained in:
Brendan Burns
2015-07-28 15:56:27 -07:00
parent 6129d3d4eb
commit 7ad8307926
4 changed files with 10 additions and 1 deletions

View File

@@ -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 {