Correct format with gofmt

Signed-off-by: Andy Kilpatrick <Andy.Kilpatrick@metaswitch.com>
pull/8167/head
Andy Kilpatrick 5 years ago
parent 1af0a811cc
commit 298585f625

@ -62,7 +62,7 @@ func newDependencyUpdateCmd(out io.Writer) *cobra.Command {
ChartPath: chartpath, ChartPath: chartpath,
Keyring: client.Keyring, Keyring: client.Keyring,
SkipUpdate: client.SkipRefresh, SkipUpdate: client.SkipRefresh,
FileOnly: client.FileOnly, FileOnly: client.FileOnly,
Getters: getter.All(settings), Getters: getter.All(settings),
RepositoryConfig: settings.RepositoryConfig, RepositoryConfig: settings.RepositoryConfig,
RepositoryCache: settings.RepositoryCache, RepositoryCache: settings.RepositoryCache,

@ -208,7 +208,7 @@ func runInstall(args []string, client *action.Install, valueOpts *values.Options
ChartPath: cp, ChartPath: cp,
Keyring: client.ChartPathOptions.Keyring, Keyring: client.ChartPathOptions.Keyring,
SkipUpdate: false, SkipUpdate: false,
FileOnly: false, FileOnly: false,
Getters: p, Getters: p,
RepositoryConfig: settings.RepositoryConfig, RepositoryConfig: settings.RepositoryConfig,
RepositoryCache: settings.RepositoryCache, RepositoryCache: settings.RepositoryCache,

@ -36,7 +36,7 @@ type Dependency struct {
Verify bool Verify bool
Keyring string Keyring string
SkipRefresh bool SkipRefresh bool
FileOnly bool FileOnly bool
} }
// NewDependency creates a new Dependency object with the given configuration. // NewDependency creates a new Dependency object with the given configuration.

@ -56,8 +56,8 @@ type Manager struct {
Keyring string Keyring string
// SkipUpdate indicates that the repository should not be updated first. // SkipUpdate indicates that the repository should not be updated first.
SkipUpdate bool SkipUpdate bool
// FileOnly indicates that only file:// charts should be updated // FileOnly indicates that only file:// charts should be updated
FileOnly bool FileOnly bool
// Getter collection for the operation // Getter collection for the operation
Getters []getter.Provider Getters []getter.Provider
RepositoryConfig string RepositoryConfig string
@ -280,9 +280,9 @@ func (m *Manager) downloadAll(deps []*chart.Dependency) error {
dep.Version = ver dep.Version = ver
continue continue
} else if m.FileOnly { } else if m.FileOnly {
fmt.Fprintf(m.Out, "Updating file:// dependencies only - skip %s from repo %s\n", dep.Name, dep.Repository) fmt.Fprintf(m.Out, "Updating file:// dependencies only - skip %s from repo %s\n", dep.Name, dep.Repository)
continue continue
} }
// Any failure to resolve/download a chart should fail: // Any failure to resolve/download a chart should fail:
// https://github.com/helm/helm/issues/1439 // https://github.com/helm/helm/issues/1439

Loading…
Cancel
Save