Skip to content

Commit

Permalink
fix: destination can be nil (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
Skarlso authored Nov 15, 2023
1 parent f3206bf commit d9d419b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion controllers/componentsubscription_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func (r *ComponentSubscriptionReconciler) SetupWithManager(mgr ctrl.Manager) err
if !ok {
return []string{}
}
if obj.Spec.Destination.SecretRef == nil {
if obj.Spec.Destination == nil || obj.Spec.Destination.SecretRef == nil {
return []string{}
}

Expand Down
3 changes: 3 additions & 0 deletions docs/release_notes/v0.9.2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Release v0.9.2

- fix: destination can be nil (#80)
2 changes: 1 addition & 1 deletion pkg/version/release.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
package version

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

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

0 comments on commit d9d419b

Please sign in to comment.