Skip to content

Commit

Permalink
fix(stack/k8s): add log message
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarzhou-portainer committed May 20, 2024
1 parent ea05e9c commit 648e994
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/http/handler/stacks/stack_delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ func (handler *Handler) deleteStack(userID portainer.UserID, stack *portainer.St
if exists, err := filesystem.FileExists(manifest); err != nil || !exists {
// If removal has failed and one of the manifest files is missing,
// we can consider this stack as removed
log.Warn().Err(err).Msgf("failed to find manifest %s, but stack deletion will continue", manifest)
return nil
}
}
Expand Down

0 comments on commit 648e994

Please sign in to comment.