Skip to content

Commit

Permalink
acr-related log messages fixing (#361)
Browse files Browse the repository at this point in the history
  • Loading branch information
reggie-k authored Dec 19, 2024
1 parent 2011b86 commit 21ccd78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion acr_controller/service/acr_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func (c *acrService) ChangeRevision(ctx context.Context, a *application.Applicat
revisions := []string{*revision}

if app.Status.OperationState != nil && app.Status.OperationState.Operation.Sync != nil {
c.logger.Infof("Patch operation sync result for application %s", app.Name)
c.logger.Infof("Patch operation status for application %s", app.Name)
return c.patchOperationSyncResultWithChangeRevision(ctx, app, revisions)
}

Expand Down
2 changes: 1 addition & 1 deletion reposerver/repository/repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -3163,6 +3163,6 @@ func (s *Service) GetChangeRevision(ctx context.Context, request *apiclient.Chan
}
}

logCtx.Debugf("changes found for application %s in repo %s from revision %s to revision %s", request.AppName, repo.Repo, previousRevision, revision)
logCtx.Debugf("changes not found for application %s in repo %s from revision %s to revision %s", request.AppName, repo.Repo, previousRevision, revision)
return &apiclient.ChangeRevisionResponse{}, nil
}

0 comments on commit 21ccd78

Please sign in to comment.