Skip to content

Commit

Permalink
keep .terraform.d/plugins for discovery
Browse files Browse the repository at this point in the history
  • Loading branch information
jbardin committed Aug 9, 2017
1 parent 5499893 commit 52dbf94
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ func globalPluginDirs() []string {
log.Printf("[ERROR] Error finding global config directory: %s", err)
} else {
machineDir := fmt.Sprintf("%s_%s", runtime.GOOS, runtime.GOARCH)
ret = append(ret, filepath.Join(dir, "plugins"))
ret = append(ret, filepath.Join(dir, "plugins", machineDir))
}

Expand Down

0 comments on commit 52dbf94

Please sign in to comment.