Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Commit

Permalink
fix: nullpointer on circuit breaker
Browse files Browse the repository at this point in the history
  • Loading branch information
Delawen committed Feb 21, 2023
1 parent 01aa7ce commit 913f6b7
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,9 @@ public Map<String, Object> getRepresenterProperties() {
properties.put(STEPS_LABEL, this.getSteps());
Map<String, Object> fallbacksteps = new HashMap<>();
properties.put(ON_FALLBACK_LABEL, fallbacksteps);
fallbacksteps.put(STEPS_LABEL, this.getOnFallback().getSteps());

if (this.getOnFallback() != null) {
fallbacksteps.put(STEPS_LABEL, this.getOnFallback().getSteps());
}
return properties;
}

Expand Down

0 comments on commit 913f6b7

Please sign in to comment.