Skip to content

Commit

Permalink
cli: Fix error in orchestrator registration (#2390)
Browse files Browse the repository at this point in the history
  • Loading branch information
leszko authored May 10, 2022
1 parent 1e5ce2a commit 15cdff9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/livepeer_cli/wizard.go
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ func httpPostWithParamsHeaders(url string, val url.Values, headers map[string]st

defer resp.Body.Close()
result, err := ioutil.ReadAll(resp.Body)
if err != nil || string(result) == "" {
if err != nil {
return "", false
}

Expand Down

0 comments on commit 15cdff9

Please sign in to comment.