Skip to content

Commit d569ca9

Browse files
Merge pull request #19676 from deads2k/cli-36-vanitypatch
start collapsing onto upstream env vars
2 parents e840ccc + 465c6c6 commit d569ca9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/oc/cli/util/clientcmd/factory_client_access.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ func (f *ring0Factory) CanBeAutoscaled(kind schema.GroupKind) error {
270270
}
271271

272272
func (f *ring0Factory) EditorEnvs() []string {
273-
return []string{"OC_EDITOR", "EDITOR"}
273+
return []string{"OC_EDITOR", "KUBE_EDITOR", "EDITOR"}
274274
}
275275

276276
func getPorts(spec kapi.PodSpec) []string {

0 commit comments

Comments
 (0)