Skip to content

Commit

Permalink
Core review suggestions from @lidel
Browse files Browse the repository at this point in the history
Co-authored-by: Marcin Rataj <[email protected]>
  • Loading branch information
hsanjuan and lidel authored Oct 5, 2023
1 parent 0178264 commit 65f7ecd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
3 changes: 0 additions & 3 deletions docker/get-docker-tags.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@ elif [ "$GIT_BRANCH" = "main" ]; then
echoImageName "main-${BUILD_NUM}-${GIT_SHA1_SHORT}"
echoImageName "main-latest"

#elif [ "$GIT_BRANCH" = "staging" ]; then
# echoImageName "staging-${BUILD_NUM}-${GIT_SHA1_SHORT}"
# echoImageName "staging-latest"

else
echo "Nothing to do. No docker tag defined for branch: $GIT_BRANCH, tag: $GIT_TAG"
Expand Down
4 changes: 2 additions & 2 deletions docs/environment-variables.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Bifrost Gateway Environment Variables
# Rainbow Environment Variables

`bifrost-gateway` ships with some implicit defaults that can be adjusted via env variables below.
`rainbow` ships with some implicit defaults that can be adjusted via env variables below.

- [Configuration](#configuration)
- [`KUBO_RPC_URL`](#kubo_rpc_url)
Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func main() {
Usage: "specify the listen address for the gateway endpoint",
},
&cli.IntFlag{
Name: "api-port",
Name: "ctl-port",
Value: 8081,
Usage: "specify the api listening address for the internal control api",
},
Expand Down Expand Up @@ -146,7 +146,7 @@ func main() {

go func() {
defer wg.Done()
log.Printf("API port exposed at http://127.0.0.1:%d", apiPort)
log.Printf("CTL port exposed at http://127.0.0.1:%d", apiPort)
log.Printf("Metrics exposed at http://127.0.0.1:%d/debug/metrics/prometheus", apiPort)
err := apiSrv.ListenAndServe()
if err != nil && !errors.Is(err, http.ErrServerClosed) {
Expand Down

0 comments on commit 65f7ecd

Please sign in to comment.