commit
68ff5f767c
|
@ -173,7 +173,7 @@ func (c *PackageCommand) Run(args []string) int {
|
||||||
|
|
||||||
if len(foundPlugins) > 0 {
|
if len(foundPlugins) > 0 {
|
||||||
plugin := foundPlugins.Newest()
|
plugin := foundPlugins.Newest()
|
||||||
CopyFile(plugin.Path, workDir+"/terraform-provider-"+plugin.Name+"-v"+plugin.Version.MustParse().String()) //put into temp dir
|
CopyFile(plugin.Path, workDir+"/terraform-provider-"+plugin.Name+"_v"+plugin.Version.MustParse().String()) //put into temp dir
|
||||||
} 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...",
|
||||||
discovery.GetReleaseHost()))
|
discovery.GetReleaseHost()))
|
||||||
|
|
Loading…
Reference in New Issue