Skip to content

Commit

Permalink
fix displaying of nctl version
Browse files Browse the repository at this point in the history
  • Loading branch information
thirdeyenick committed Sep 17, 2024
1 parent c19c15f commit 3539690
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,15 @@ type rootCommand struct {
}

const (
version = "dev"
defaultAPICluster = "nineapis.ch"
)

var (
// this has to be a variable as it will be replaced by CI/CD
// (goreleaser)
version = "dev"
)

func main() {
ctx, cancel := context.WithCancel(context.Background())
defer cancel()
Expand Down

0 comments on commit 3539690

Please sign in to comment.