Skip to content

Commit

Permalink
Error on rm dapr_scheduler is now a warn.
Browse files Browse the repository at this point in the history
Signed-off-by: Artur Souza <[email protected]>
  • Loading branch information
artursouza committed Jul 17, 2024
1 parent 871f6ab commit 3aecd8b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkg/standalone/uninstall.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,8 @@ func removeSchedulerVolume(containerErrs []error, runtimeCmd string) []error {
"--force",
"dapr_scheduler")
if err != nil {
containerErrs = append(
containerErrs,
fmt.Errorf("could not remove dapr_scheduler volume: %w", err))
// just warn because uninstall in older versions don't have this volume to begin with.
print.WarningStatusEvent(os.Stdout, "WARNING: could not remove dapr_scheduler volume: %v", err)
}
return containerErrs
}
Expand Down

0 comments on commit 3aecd8b

Please sign in to comment.