satellite/orders: log level warn for remaining "bucketName or projectID not set" (#4326)

Co-authored-by: Stefan Benten <mail@stefan-benten.de>
This commit is contained in:
littleskunk 2022-01-06 16:31:26 +01:00 committed by GitHub
parent 606a73a8e8
commit b21cbc85f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -323,7 +323,7 @@ func (endpoint *Endpoint) SettlementWithWindowFinal(stream pb.DRPCOrders_Settlem
// log error only for orders created by users, for satellite actions order limits are created // log error only for orders created by users, for satellite actions order limits are created
// without bucket name and project ID because segments loop doesn't have access to it // without bucket name and project ID because segments loop doesn't have access to it
if !satelliteAction && (bucketInfo.BucketName == "" || bucketInfo.ProjectID.IsZero()) { if !satelliteAction && (bucketInfo.BucketName == "" || bucketInfo.ProjectID.IsZero()) {
log.Debug("decrypt order: bucketName or projectID not set", log.Warn("decrypt order: bucketName or projectID not set",
zap.String("bucketName", bucketInfo.BucketName), zap.String("bucketName", bucketInfo.BucketName),
zap.String("projectID", bucketInfo.ProjectID.String()), zap.String("projectID", bucketInfo.ProjectID.String()),
) )