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
|
} else { //attempt to get from the public registry if not found locally
|
||||||
c.ui.Output(fmt.Sprintf("- Checking for provider plugin on %s...",
|
c.ui.Output(fmt.Sprintf("- Checking for provider plugin on %s...",
|
||||||
releaseHost))
|
releaseHost))
|
||||||
_, _, err := installer.Get(addrs.Provider{Type: name}, constraint)
|
_, _, err := installer.Get(addrs.NewLegacyProvider(name), constraint)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
c.ui.Error(fmt.Sprintf("- Failed to resolve %s provider %s: %s", name, constraint, err))
|
c.ui.Error(fmt.Sprintf("- Failed to resolve %s provider %s: %s", name, constraint, err))
|
||||||
return 1
|
return 1
|
||||||
|
|
Loading…
Reference in New Issue