Commit 81545c29 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #42016 from MHBauer/fix-copypasta

Automatic merge from submit-queue Update godoc to match **What this PR does / why we need it**: comments don't match the code. I can also just remove them. **Which issue this PR fixes** golint if it was run, but it is nice to have comments that appear to be relevant to the code. **Special notes for your reviewer**: docs only **Release note**: ```release-note NONE ```
parents 85dfdc12 3e5f904c
......@@ -157,22 +157,26 @@ func NewConfig() *Config {
}
}
// NewConfig is a convenience function that returns a new Config object with non-nil maps
// NewContext is a convenience function that returns a new Context
// object with non-nil maps
func NewContext() *Context {
return &Context{Extensions: make(map[string]runtime.Object)}
}
// NewConfig is a convenience function that returns a new Config object with non-nil maps
// NewCluster is a convenience function that returns a new Cluster
// object with non-nil maps
func NewCluster() *Cluster {
return &Cluster{Extensions: make(map[string]runtime.Object)}
}
// NewConfig is a convenience function that returns a new Config object with non-nil maps
// NewAuthInfo is a convenience function that returns a new AuthInfo
// object with non-nil maps
func NewAuthInfo() *AuthInfo {
return &AuthInfo{Extensions: make(map[string]runtime.Object)}
}
// NewConfig is a convenience function that returns a new Config object with non-nil maps
// NewPreferences is a convenience function that returns a new
// Preferences object with non-nil maps
func NewPreferences() *Preferences {
return &Preferences{Extensions: make(map[string]runtime.Object)}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment