Skip to content

Commit

Permalink
Return error if we fail to delete hive resources during deletion (Azu…
Browse files Browse the repository at this point in the history
  • Loading branch information
bennerv authored Sep 19, 2023
1 parent 04b84a2 commit bfddd18
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/cluster/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -495,11 +495,9 @@ func (m *manager) Delete(ctx context.Context) error {
}

if m.adoptViaHive || m.installViaHive {
// Don't fail the deletion because of hive
// This should change when/if we start using hive for cluster deletion
err = m.hiveDeleteResources(ctx)
if err != nil {
m.log.Info(err)
return err
}
}

Expand Down

0 comments on commit bfddd18

Please sign in to comment.