mirror of
https://github.com/cloudflare/redoctober.git
synced 2026-01-09 07:33:47 +00:00
Don't discard result of errors.New.
This commit is contained in:
@@ -269,7 +269,7 @@ func Delegate(jsonIn []byte) ([]byte, error) {
|
||||
}
|
||||
|
||||
if records.NumRecords() == 0 {
|
||||
errors.New("Vault is not created yet")
|
||||
err = errors.New("Vault is not created yet")
|
||||
return jsonStatusError(err)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user