parent
49fc53d1d1
commit
8c6ae66494
|
@ -182,7 +182,7 @@ func (c *PackageCommand) Run(args []string) int {
|
|||
} else { //attempt to get from the public registry if not found locally
|
||||
c.ui.Output(fmt.Sprintf("- Checking for provider plugin on %s...",
|
||||
releaseHost))
|
||||
_, _, err := installer.Get(addrs.Provider{Type: name}, constraint)
|
||||
_, _, err := installer.Get(addrs.NewLegacyProvider(name), constraint)
|
||||
if err != nil {
|
||||
c.ui.Error(fmt.Sprintf("- Failed to resolve %s provider %s: %s", name, constraint, err))
|
||||
return 1
|
||||
|
|
Loading…
Reference in New Issue