mirror of
https://github.com/getsops/sops.git
synced 2026-02-05 12:45:21 +01:00
Fix error messages
Fixed typo Changed 'sops branch' to 'sops metadata'
This commit is contained in:
@@ -210,7 +210,7 @@ func runEditorUntilOk(opts runEditorUntilOkOpts) error {
|
||||
if opts.ShowMasterKeys {
|
||||
metadata, err := opts.InputStore.UnmarshalMetadata(edited)
|
||||
if err != nil {
|
||||
log.Printf("sops branch is invalid: %s.\nPress a key to return to the editor, or Ctrl+C to exit.", err)
|
||||
log.Printf("sops metadata is invalid: %s.\nPress a key to return to the editor, or Ctrl+C to exit.", err)
|
||||
bufio.NewReader(os.Stdin).ReadByte()
|
||||
continue
|
||||
}
|
||||
|
||||
2
sops.go
2
sops.go
@@ -329,7 +329,7 @@ func (m *Metadata) MasterKeyCount() int {
|
||||
func (m *Metadata) UpdateMasterKeysWithKeyServices(dataKey []byte, svcs []keyservice.KeyServiceClient) (errs []error) {
|
||||
if len(svcs) == 0 {
|
||||
return []error{
|
||||
fmt.Errorf("No key services provided, can not update master keys."),
|
||||
fmt.Errorf("No key services provided, cansnot update master keys."),
|
||||
}
|
||||
}
|
||||
var parts [][]byte
|
||||
|
||||
Reference in New Issue
Block a user