Skip to content

Commit 6b82a17

Browse files
authored
[Bugfix] [Platform] Prevent NPE in case of missing Helm Release (#1935)
1 parent ea9adfb commit 6b82a17

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
- (Documentation) ManualUpgrade Docs
88
- (Documentation) Add Required & Skip in Docs
99
- (Feature) (Platform) ECS Storage
10+
- (Bugfix) (Platform) Prevent NPE in case of missing Helm Release
1011

1112
## [1.2.50](https://github.com/arangodb/kube-arangodb/tree/1.2.50) (2025-07-04)
1213
- (Feature) (Platform) MetaV1 Integration Service

pkg/util/k8sutil/helm/client.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,10 @@ func (c *client) Uninstall(ctx context.Context, name string, mods ...util.Mod[ac
134134
return nil, err
135135
}
136136

137+
if result == nil {
138+
return nil, nil
139+
}
140+
137141
var res UninstallRelease
138142

139143
res.Info = result.Info

0 commit comments

Comments
 (0)