Skip to content

Commit

Permalink
Add missing redaction
Browse files Browse the repository at this point in the history
  • Loading branch information
torcolvin committed Nov 28, 2023
1 parent 8f0c09b commit af410dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/bootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ func (cc *CouchbaseCluster) WriteMetadataDocument(ctx context.Context, location,
return 0, errors.New("nil CouchbaseCluster")
}
if cas == 0 {
return 0, RedactErrorf("CAS for %q in bucket %q must be non-zero", docID, location)
return 0, RedactErrorf("CAS for %q in bucket %q must be non-zero", UD(docID), MD(location))
}

b, teardown, err := cc.getBucket(ctx, location)
Expand Down

0 comments on commit af410dd

Please sign in to comment.