From cb834a47fdfd863c031f4f785d82bc4a0a74692e Mon Sep 17 00:00:00 2001 From: Gareth Kirwan Date: Fri, 15 Nov 2024 10:40:48 +0700 Subject: [PATCH] fixup! Config: Add -edit and encryption upgrade to cmd/config --- cmd/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/config/config.go b/cmd/config/config.go index 82db53a25be..699fafaf391 100644 --- a/cmd/config/config.go +++ b/cmd/config/config.go @@ -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 }