Skip to content

Commit

Permalink
update template for circuitBreaking return value
Browse files Browse the repository at this point in the history
  • Loading branch information
rpatali committed Aug 28, 2019
1 parent a9b6b6c commit acd3f55
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions codegen/template_bundle/template_files.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion codegen/templates/grpc_client.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func configureCicruitBreaker(deps *module.Dependencies, timeoutVal int) bool {
RequestVolumeThreshold: requestVolumeThreshold,
Timeout: timeoutVal,
})
return circuitBreakerDisabled
return true
}

{{range $i, $svc := .ProtoServices -}}
Expand Down
2 changes: 1 addition & 1 deletion examples/example-gateway/build/clients/echo/echo.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit acd3f55

Please sign in to comment.