Skip to content

Commit

Permalink
comment: about optional phases
Browse files Browse the repository at this point in the history
Signed-off-by: Jack Yu <jack.yu@suse.com>
  • Loading branch information
Yu-Jack committed Jul 12, 2024
1 parent d4f4a0a commit 3623d55
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/manager/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ func (m *SupportBundleManager) runAllPhases(requiredPhases []RunPhase, optionalP
for _, phase := range optionalPhases {
if err := m.runPhase(phase, &progressCount, maxProgressCount); err != nil {
logrus.Errorf("Failed to run optionalPhases %s: %s", phase.Name, err.Error())
// Since it's optional, don't return error.
continue
}
}
Expand Down

0 comments on commit 3623d55

Please sign in to comment.