Skip to content

Commit

Permalink
Merge pull request #23 from gyant/ryanthompson/fix-schema-backup-error
Browse files Browse the repository at this point in the history
Makes BackupKeyspaceSchema return an error on failure
  • Loading branch information
maorfr authored Sep 22, 2020
2 parents be0e30d + f1d973f commit bdb22f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cain/cqlsh.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func BackupKeyspaceSchema(iK8sClient, iDstClient interface{}, namespace, pod, co

reader := bytes.NewReader(schema)
if err := skbn.Upload(iDstClient, dstPrefix, schemaToPath, "", reader); err != nil {
return "", nil
return "", err
}

return dstBasePath, nil
Expand Down

0 comments on commit bdb22f5

Please sign in to comment.