Skip to content

Commit

Permalink
Merge pull request getsops#1721 from felixfontein/updatekeys-input-type
Browse files Browse the repository at this point in the history
updatekeys subcommand: fix input-type CLI flag being ignored
  • Loading branch information
felixfontein authored Dec 25, 2024
2 parents abd17b4 + fefdbdf commit d84a324
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/sops/subcommand/updatekeys/updatekeys.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit d84a324

Please sign in to comment.