Skip to content
This repository was archived by the owner on Dec 2, 2025. It is now read-only.

Commit d9d419b

Browse files
authored
fix: destination can be nil (#80)
1 parent f3206bf commit d9d419b

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

controllers/componentsubscription_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ func (r *ComponentSubscriptionReconciler) SetupWithManager(mgr ctrl.Manager) err
7272
if !ok {
7373
return []string{}
7474
}
75-
if obj.Spec.Destination.SecretRef == nil {
75+
if obj.Spec.Destination == nil || obj.Spec.Destination.SecretRef == nil {
7676
return []string{}
7777
}
7878

docs/release_notes/v0.9.2.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Release v0.9.2
2+
3+
- fix: destination can be nil (#80)

pkg/version/release.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
package version
66

77
// ReleaseVersion is the version number in semver format "vX.Y.Z", prefixed with "v".
8-
var ReleaseVersion = "v0.9.1"
8+
var ReleaseVersion = "v0.9.2"
99

1010
// ReleaseCandidate is the release candidate ID in format "rc.X", which will be appended to the release version.
1111
var ReleaseCandidate = "rc.1"

0 commit comments

Comments
 (0)