remove single use, non-polymorphic helpers from factory

This commit is contained in:
David Eads
2018-05-10 09:00:33 -04:00
parent f2ea83bef8
commit 4b36c15872
9 changed files with 42 additions and 81 deletions

View File

@@ -578,10 +578,6 @@ func (f *ring0Factory) CanBeAutoscaled(kind schema.GroupKind) error {
return nil
}
func (f *ring0Factory) EditorEnvs() []string {
return []string{"KUBE_EDITOR", "EDITOR"}
}
// overlyCautiousIllegalFileCharacters matches characters that *might* not be supported. Windows is really restrictive, so this is really restrictive
var overlyCautiousIllegalFileCharacters = regexp.MustCompile(`[^(\w/\.)]`)