Skip to content

Commit

Permalink
Revert "chore: add temp. debug codee"
Browse files Browse the repository at this point in the history
This reverts commit 23fb9f4.
  • Loading branch information
danimo committed Jul 8, 2024
1 parent 7cf7298 commit 04480ff
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/operator/operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,18 +160,14 @@ func (o *B3ScaleOperator) innerReconcile(ctx context.Context, op *skop.Operator,
return err
}

level.Debug(o.logger).Log("AAA")
if bbbFrontend.Spec.FrontendID == nil || *bbbFrontend.Spec.FrontendID == "" {
level.Debug(o.logger).Log("BBB")
var id string

// Try reading ID from existing frontend
existingFrontend, err := getFrontendByName(ctx, *o.apiClient, bbbFrontend.Spec.Credentials.Frontend)
if err == nil {
level.Debug(o.logger).Log("CCC")
id = existingFrontend.ID
} else {
level.Debug(o.logger).Log("DDD")
// Create frontend in B3Scale backend
createdFrontend, err := o.apiClient.FrontendCreate(ctx, &store.FrontendState{
Active: true,
Expand Down

0 comments on commit 04480ff

Please sign in to comment.