-
Notifications
You must be signed in to change notification settings - Fork 274
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
Adds support for installing all referenced plugins when no arguments are given to 'plugin install'. Closes #3451 #3842
Conversation
cmd/plugin.go
Outdated
return | ||
|
||
if len(steampipeconfig.GlobalConfig.Plugins) == 0 { | ||
error_helpers.ShowError(ctx, sperr.New("No connections/plugins configured")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"No connections or plugins configured"
cmd/plugin.go
Outdated
} | ||
|
||
// get the list of plugins to install | ||
for _, plugin := range steampipeconfig.GlobalConfig.Plugins { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we use a lookup instead of StringSliceContains
pkg/ociinstaller/imageref.go
Outdated
return getCondensedImageRef(r.DisplayImageRef()) | ||
} | ||
|
||
func getCondensedImageRef(imagePath string) string { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't imagePath
be imageRef
?
Can we have a unit test suite please
1f978e0
to
97cc404
Compare
No description provided.