From e333f592052281b92b29dfccca0e57337e92c6ff Mon Sep 17 00:00:00 2001 From: Amin Salarkia Date: Tue, 17 Dec 2024 10:41:28 +0100 Subject: [PATCH] fix(cd-service): fix fromatting repository.go Ref: SRX-5WTFDM --- services/cd-service/pkg/repository/repository.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/cd-service/pkg/repository/repository.go b/services/cd-service/pkg/repository/repository.go index 57d878911..2a967b587 100644 --- a/services/cd-service/pkg/repository/repository.go +++ b/services/cd-service/pkg/repository/repository.go @@ -948,10 +948,10 @@ func (r *repository) ApplyTransformers(ctx context.Context, transaction *sql.Tx, if err := r.afterTransform(ctx, *state, transaction); err != nil { return nil, &TransformerBatchApplyError{TransformerError: fmt.Errorf("%s: %w", "failure in afterTransform", err), Index: -1} } - + gitMutexLock.Lock() defer gitMutexLock.Unlock() - state, err := r.StateAt(nil); + state, err := r.StateAt(nil) if err != nil { return nil, &TransformerBatchApplyError{TransformerError: err, Index: -1} }