Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
kakcy committed Feb 27, 2025
1 parent c2a263a commit 453174a
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions pkg/experiment/api/goal.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ import (
"go.uber.org/zap"
"google.golang.org/genproto/googleapis/rpc/errdetails"

domainauditlog "github.com/bucketeer-io/bucketeer/pkg/auditlog/domain"
auditlogstorage "github.com/bucketeer-io/bucketeer/pkg/auditlog/storage/v2"
domainevent "github.com/bucketeer-io/bucketeer/pkg/domainevent/domain"
"github.com/bucketeer-io/bucketeer/pkg/experiment/command"
"github.com/bucketeer-io/bucketeer/pkg/experiment/domain"
Expand Down Expand Up @@ -415,11 +413,6 @@ func (s *experimentService) createGoalNoCommand(
if err := s.publisher.Publish(ctx, e); err != nil {
return err
}
auditlogstorage := auditlogstorage.NewAuditLogStorage(tx)
err = auditlogstorage.CreateAuditLog(ctx, domainauditlog.NewAuditLog(e, req.EnvironmentId))
if err != nil {
return err
}
return s.goalStorage.CreateGoal(ctxWithTx, goal, req.EnvironmentId)
})
if err != nil {
Expand Down

0 comments on commit 453174a

Please sign in to comment.