Add some recovery KMS functions needed for external clients (#339)

This commit is contained in:
Jeff Mitchell authored and GitHub committed 2020-09-09 01:15:29 -04:00
1 parent f94f21fd97
commit 36f975a952
6 files changed
+63 -38

No files matched your search

@@ -341,7 +341,7 @@ func (c *Command) ParseFlagsAndConfig(args []string) int {
if c.flagConfigKms != "" {
wrapperPath = c.flagConfigKms
}
wrapper, err := wrapper.GetWrapper(wrapperPath, "config")
wrapper, err := wrapper.GetWrapperFromPath(wrapperPath, "config")
if err != nil {
c.UI.Error(err.Error())
return 1