Skip to content

Commit

Permalink
Removed requirement to specify override token.
Browse files Browse the repository at this point in the history
  • Loading branch information
brett19 committed Sep 9, 2024
1 parent 8685417 commit edc2291
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions cmd/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -1134,9 +1134,7 @@ var initCmd = &cobra.Command{
capellaOverrideToken, true)
}
if capellaOverrideToken == "" {
fmt.Printf("Capella override token is required.\n")
capellaEnabled = false
continue
fmt.Printf("No override token specified. Functionalities like using custom server images will not be supported.\n")
}

if flagCapellaInternalSupportToken != "" {
Expand All @@ -1153,7 +1151,7 @@ var initCmd = &cobra.Command{
capellaInternalSupportToken, true)
}
if capellaInternalSupportToken == "" {
fmt.Printf("Capella internal support token is required for functionalities like update server version, collect server logs\n")
fmt.Printf("No internal support token specified. Functionalities like updating server version, collect server logs will not be supported.\n")
}

if flagCapellaProvider != "" {
Expand Down

0 comments on commit edc2291

Please sign in to comment.