mirror of
https://github.com/kubernetes/kubectl.git
synced 2026-05-28 04:35:50 -04:00
Fix typos in kubectl package comments
- Fix 'Prefrences' -> 'Preferences' in kuberc.go - Fix 'formating' -> 'formatting' in humanreadable_flags.go Kubernetes-commit: 7b6fbc9677afc703e058f9a9079805026af76745
This commit is contained in:
parent
9c4f2708d3
commit
e3aecb126e
2 changed files with 2 additions and 2 deletions
|
|
@ -58,7 +58,7 @@ func (f *HumanPrintFlags) EnsureWithNamespace() error {
|
|||
return nil
|
||||
}
|
||||
|
||||
// AllowedFormats returns more customized formating options
|
||||
// AllowedFormats returns more customized formatting options
|
||||
func (f *HumanPrintFlags) AllowedFormats() []string {
|
||||
return []string{"wide"}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ type Preferences struct {
|
|||
policy clientcmdapi.PluginPolicy
|
||||
}
|
||||
|
||||
// NewPreferences returns initialized Prefrences object.
|
||||
// NewPreferences returns initialized Preferences object.
|
||||
func NewPreferences() PreferencesHandler {
|
||||
return &Preferences{
|
||||
getPreferencesFunc: DefaultGetPreferences,
|
||||
|
|
|
|||
Loading…
Reference in a new issue