Skip to content

Commit

Permalink
fixup! Config: Add -edit and encryption upgrade to cmd/config
Browse files Browse the repository at this point in the history
  • Loading branch information
gbjk committed Nov 15, 2024
1 parent 2b8ca24 commit cb834a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func main() {

func upgradeFile(in, out string, key []byte) error {
c := &config.Config{
EncryptionKeyPrompt: func(_ bool) ([]byte, error) {
EncryptionKeyProvider: func(_ bool) ([]byte, error) {
if len(key) != 0 {
return key, nil
}
Expand Down

0 comments on commit cb834a4

Please sign in to comment.