File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ func PodTemplateSpec(obj k8sutil.Object) (coreV1.PodTemplateSpec, bool) {
3434 if ! template .IsValid () {
3535 return coreV1.PodTemplateSpec {}, false
3636 }
37- if template .Kind () == reflect .Ptr && ! template .IsNil () {
37+ if template .Kind () == reflect .Pointer && ! template .IsNil () {
3838 template = template .Elem ()
3939 }
4040 podTemplate , ok := template .Interface ().(coreV1.PodTemplateSpec )
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ func rollingUpdateFromUpdateStrategy(strategy reflect.Value) (reflect.Value, boo
7272 return rollingUpdate , false
7373 }
7474 }
75- if rollingUpdate .Kind () == reflect .Ptr && ! rollingUpdate .IsNil () {
75+ if rollingUpdate .Kind () == reflect .Pointer && ! rollingUpdate .IsNil () {
7676 rollingUpdate = rollingUpdate .Elem ()
7777 }
7878 return rollingUpdate , true
You can’t perform that action at this time.
0 commit comments