Skip to content

Commit

Permalink
fix(cd-service): fix fromatting repository.go
Browse files Browse the repository at this point in the history
Ref: SRX-5WTFDM
  • Loading branch information
AminSlk committed Dec 17, 2024
1 parent 5039da0 commit e333f59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions services/cd-service/pkg/repository/repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -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}
}
Expand Down

0 comments on commit e333f59

Please sign in to comment.