fix golangci-lint fmt

Signed-off-by: wujunwei <wjw3323@live.com>
pull/11551/head
wujunwei 3 years ago
parent 0521d9332c
commit 922d21ebb1

@ -90,7 +90,7 @@ type Install struct {
DisableOpenAPIValidation bool DisableOpenAPIValidation bool
// IncludeCRDs is deprecated because of template-related code is removed from install action. // IncludeCRDs is deprecated because of template-related code is removed from install action.
// Deprecated // Deprecated
IncludeCRDs bool IncludeCRDs bool
// KubeVersion allows specifying a custom kubernetes version to use and // KubeVersion allows specifying a custom kubernetes version to use and
// APIVersions allows a manual set of supported API Versions to be passed // APIVersions allows a manual set of supported API Versions to be passed
// (for things like templating). These are ignored if ClientOnly is false // (for things like templating). These are ignored if ClientOnly is false
@ -459,10 +459,10 @@ func (i *Install) failRelease(rel *release.Release, err error) (*release.Release
// //
// Roughly, this will return an error if name is // Roughly, this will return an error if name is
// //
// - empty // - empty
// - too long // - too long
// - already in use, and not deleted // - already in use, and not deleted
// - used by a deleted release, and i.Replace is false // - used by a deleted release, and i.Replace is false
func (i *Install) availableName() error { func (i *Install) availableName() error {
start := i.ReleaseName start := i.ReleaseName

Loading…
Cancel
Save