Merge pull request #17700 from ScottWinkler/master

Fix scrub mistake
This commit is contained in:
James Bardin 2018-03-28 14:15:47 -04:00 committed by GitHub
commit 68ff5f767c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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()))