Skip to content

Commit

Permalink
fix describer output
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Kriss <krisss@vmware.com>
  • Loading branch information
skriss committed Apr 24, 2019
1 parent 1a55964 commit c201a2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/util/output/restore_describer.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func DescribeRestore(restore *v1.Restore, podVolumeRestores []v1.PodVolumeRestor

resultsNote := ""
if phase == v1.RestorePhaseFailed || phase == v1.RestorePhasePartiallyFailed {
resultsNote = fmt.Sprintf(" (run velero restore describe %s or velero restore logs %s for more information)", restore.Name, restore.Name)
resultsNote = fmt.Sprintf(" (run 'velero restore logs %s' for more information)", restore.Name)
}

d.Printf("Phase:\t%s%s\n", restore.Status.Phase, resultsNote)
Expand Down

0 comments on commit c201a2c

Please sign in to comment.