We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e9a20d commit 18a53e8Copy full SHA for 18a53e8
1 file changed
registry.go
@@ -92,7 +92,7 @@ func NewProvider(pname, name string) (HostProvider, error) {
92
if !ok {
93
// Try finding a plugin by this name, if we have the provider plugin loaded
94
if c, ok := availableProviders["plugin"]; ok {
95
- if _, err := exec.LookPath(fmt.Sprintf("herd-provider-%s", name)); err == nil {
+ if _, err := exec.LookPath(fmt.Sprintf("herd-provider-%s", pname)); err == nil {
96
return c(name), nil
97
}
98
0 commit comments