mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-19 17:59:05 -05:00
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user