Skip to content
This repository has been archived by the owner on Sep 13, 2024. It is now read-only.

Commit

Permalink
🐛 fix: fixing namings for cli binaries (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickLaabs committed Mar 16, 2024
1 parent 09ad2b9 commit 892b170
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cmd/frigg/bootstrap/commons/clusterapi/clusterapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"path/filepath"
)

var clusterctl = "clusterctl" + consts.ClusterctlVersion
var clusterctl = "clusterctl_" + consts.ClusterctlVersion

func ClusterAPI() {
homedir, err := os.UserHomeDir()
Expand Down
2 changes: 0 additions & 2 deletions cmd/frigg/bootstrap/commons/clusterapi/privot.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ import (
"path/filepath"
)

// var clusterctl = "clusterctl" + consts.ClusterctlVersion

func Pivot() {
println(color.GreenString("Moving clusterapi components from bootstrap to mgmt cluster.."))

Expand Down
2 changes: 1 addition & 1 deletion cmd/frigg/bootstrap/commons/reporender/reporender.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"time"
)

var gh = "gh" + consts.GithubCliVersion
var gh = "gh_" + consts.GithubCliVersion

// FullStage combines everything, that is needed, to fully prepare the gitops repo for the end-user
func FullStage() {
Expand Down
2 changes: 1 addition & 1 deletion pkg/kubeconfig/kubeconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"strings"
)

var clusterctl = "clusterctl" + consts.ClusterctlVersion
var clusterctl = "clusterctl_" + consts.ClusterctlVersion

// RetrieveMgmtKubeconfig retrieves of the newly provisioned mgmt-cluster via capd
// and stores it to the work directory of frigg
Expand Down

0 comments on commit 892b170

Please sign in to comment.