Skip to content

Commit

Permalink
Don't log directly, interfers with --dry-run --output yaml (#1651)
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Neumann <aneumann@mesosphere.com>
  • Loading branch information
ANeumann82 committed Aug 21, 2020
1 parent ee46809 commit 031e44f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kudoctl/kudoinit/setup/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func (i *Installer) PreUpgradeVerify(client *kube.Client, result *verifier.Resul

// Step 2 - Verify that any migration is possible
migrations := requiredMigrations()
clog.Printf("Verify that %d required migrations can be applied", len(migrations))
clog.V(1).Printf("Verify that %d required migrations can be applied", len(migrations))
for _, m := range migrations {
if err := m.CanMigrate(client); err != nil {
result.AddErrors(fmt.Errorf("migration %s failed install check: %v", m, err).Error())
Expand Down

0 comments on commit 031e44f

Please sign in to comment.