Skip to content

Commit

Permalink
Update resolving catalystApiURL
Browse files Browse the repository at this point in the history
  • Loading branch information
leszko committed Jul 26, 2024
1 parent d6866a4 commit c176961
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ func resolveCatalystApiURL(cli config.Cli) interface{} {
// the whole catalyst node
hostname := os.Getenv("HOSTNAME") // e.g. "staging-catalyst-0"
ecosystem := strings.Split(hostname, "-")[0] // e.g. "staging"
return fmt.Sprintf("%s-catalyst-api-%s", ecosystem, hostname)
return fmt.Sprintf("http://%s-catalyst-api-%s", ecosystem, hostname)
}
// not used for other modes
return ""
Expand Down

0 comments on commit c176961

Please sign in to comment.