Skip to content

Commit

Permalink
Fix NPE (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryannedolan authored Mar 13, 2024
1 parent 927057e commit 8edcd27
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ private static boolean isReady(DynamicKubernetesObject obj) {
// Whether status has diverged from spec (i.e. we need to re-plan the pipeline)
private static boolean diverged(V1alpha1SubscriptionSpec spec, V1alpha1SubscriptionStatus status) {
return status.getSql() == null || !status.getSql().equals(spec.getSql())
|| !status.getHints().equals(spec.getHints());
|| status.getHints() == null || !status.getHints().equals(spec.getHints());
}

// Fetch attributes from downstream controllers
Expand Down

0 comments on commit 8edcd27

Please sign in to comment.