1
0
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:
Adrian Utrilla
2017-08-29 13:07:45 -07:00
parent 4f4968f32e
commit a7b2fbf8a7
2 changed files with 2 additions and 2 deletions

View File

@@ -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
}

View File

@@ -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