mirror of
https://github.com/getsops/sops.git
synced 2026-02-05 12:45:21 +01:00
Fix input-type CLI flag being ignored for updatekeys subcommand.
Co-authored-by: Timo Schrader <timoschrader00@gmail.com> Signed-off-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
@@ -45,7 +45,7 @@ func updateFile(opts Opts) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
store := common.DefaultStoreForPath(sc, opts.InputPath)
|
||||
store := common.DefaultStoreForPathOrFormat(sc, opts.InputPath, opts.InputType)
|
||||
log.Printf("Syncing keys for file %s", opts.InputPath)
|
||||
tree, err := common.LoadEncryptedFile(store, opts.InputPath)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user