Skip to content
This repository was archived by the owner on Jan 8, 2024. It is now read-only.

Conversation

@briancain
Copy link
Contributor

Prior to this commit, if you ran the profile set command without any flags, the command would panic due to the flagPluginType being a string pointer. This commit fixes that by instead moving it back to a simple String flag with a emptry string default. It preserves the behavior where if not specified, the CLI will attempt to use the existing plugin type rather than setting it to empty string.

Fixes #4012

Prior to this commit, if you ran the profile set command without any
flags, the command would panic due to the flagPluginType being a string
pointer. This commit fixes that by instead moving it back to a simple
String flag with a emptry string default. It preserves the behavior
where if not specified, the CLI will attempt to use the existing plugin
type rather than setting it to empty string.

Fixes #4012
@briancain briancain requested review from a team, demophoon and paladin-devops October 7, 2022 22:24
@github-actions github-actions bot added the core label Oct 7, 2022
Copy link
Contributor

@cicoyle cicoyle left a comment

Choose a reason for hiding this comment

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

Nice catch on this!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cli: waypoint runner profile set panics with no flags set

2 participants