Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix environment engine api key var #406

Merged
merged 1 commit into from
Oct 6, 2021
Merged

Fix environment engine api key var #406

merged 1 commit into from
Oct 6, 2021

Conversation

BruceMacD
Copy link
Collaborator

Fix this environment variable naming

@@ -292,7 +292,7 @@ func newEngineCmd() (*cobra.Command, error) {
return errors.New("registry not specified (--registry or INFRA_ENGINE_REGISTRY)")
}
if options.Registry != "infra" && options.APIKey == "" {
return errors.New("api-key not specified (--api-key or INFRA_ENGINE_API_KEY)")
return errors.New("api-key not specified (--api-key or ENGINE_API_KEY)")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's the reason for omitting the INFRA prefix?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 good catch

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a preference from feedback, nothing too solid

@BruceMacD BruceMacD merged commit bbc6681 into main Oct 6, 2021
@BruceMacD BruceMacD deleted the engine_api_var branch October 6, 2021 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants