Skip to content

Commit

Permalink
fix: update env var and avoid exit on error
Browse files Browse the repository at this point in the history
  • Loading branch information
claywd committed Oct 17, 2023
1 parent 083cd31 commit 588908c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/environments/defaultEnvironments.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func callApiEE(goPayload types.WorkloadClusterSet) error {


// in cluster url
KubefirstApiEe := os.Getenv("KUBEFIRST_API_EE")
KubefirstApiEe := os.Getenv("ENTERPRISE_API_URL")


customTransport := http.DefaultTransport.(*http.Transport).Clone()
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func main() {
log.Infof("adding default environments for cluster %s", importedCluster.ClusterName)
err := environments.CreateDefaultEnvironments(importedCluster)
if err != nil {
log.Fatalf("Error creating default environments %s", err.Error())
log.Infof("Error creating default environments %s", err.Error())
}
}()
}
Expand Down

0 comments on commit 588908c

Please sign in to comment.