Skip to content

Commit bda9be3

Browse files
Include the namespace
Signed-off-by: Peter Broadhurst <peter.broadhurst@kaleido.io>
1 parent 003d8f2 commit bda9be3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

internal/operations/operation_updater.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ func (ou *operationUpdater) doUpdate(ctx context.Context, update *core.Operation
335335
// - The idempotencyKey
336336
// - The FF Transaction ID
337337
// - The Operation ID
338-
log.L(ctx).Infof("FF_OPERATION_UPDATE: plugin=%s type=%s status=%s operationId=%s transactionId=%s idempotencyKey='%s'", op.Plugin, op.Type, update.Status, op.ID, txnIDStr, idempotencyKeyStr)
338+
log.L(ctx).Infof("FF_OPERATION_UPDATE: namespace=%s plugin=%s type=%s status=%s operationId=%s transactionId=%s idempotencyKey='%s'", op.Namespace, op.Plugin, op.Type, update.Status, op.ID, txnIDStr, idempotencyKeyStr)
339339

340340
if handler, ok := ou.manager.handlers[op.Type]; ok {
341341
if err := handler.OnOperationUpdate(ctx, op, update); err != nil {

internal/txwriter/txwriter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ func (tw *txWriter) processBatch(ctx context.Context, batch *txWriterBatch) erro
219219
// - The idempotencyKey
220220
// - The FF Transaction ID
221221
// - The Operation ID
222-
log.L(ctx).Infof("FF_NEW_TRANSACTION_OPERATION: plugin=%s type=%s operationId=%s transactionId=%s idempotencyKey='%s'", op.Plugin, op.Type, op.ID, txn.ID, txn.IdempotencyKey)
222+
log.L(ctx).Infof("FF_NEW_TRANSACTION_OPERATION: namespace=%s plugin=%s type=%s operationId=%s transactionId=%s idempotencyKey='%s'", op.Namespace, op.Plugin, op.Type, op.ID, txn.ID, txn.IdempotencyKey)
223223
}
224224
}
225225
}

0 commit comments

Comments
 (0)