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

Improve the missing plugin error to include the full name of the binary #5208

Merged
merged 7 commits into from Mar 17, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion sdk/go/common/workspace/plugins.go
Expand Up @@ -66,7 +66,7 @@ func NewMissingError(info PluginInfo) error {

func (err *MissingError) Error() string {
if err.Info.Version != nil {
return fmt.Sprintf("no %[1]s plugin '%[2]s-v%[3]s' found in the workspace or on your $PATH, "+
return fmt.Sprintf("no %[1]s plugin 'pulumi-%[1]s-%[2]s-v%[3]s' found in the workspace or on your $PATH, "+
komalali marked this conversation as resolved.
Show resolved Hide resolved
"install the plugin using `pulumi plugin install %[1]s %[2]s v%[3]s`",
err.Info.Kind, err.Info.Name, err.Info.Version)
}
Expand Down