Skip to content

Commit 21ccd78

Browse files
authored
acr-related log messages fixing (#361)
1 parent 2011b86 commit 21ccd78

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

acr_controller/service/acr_service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ func (c *acrService) ChangeRevision(ctx context.Context, a *application.Applicat
9393
revisions := []string{*revision}
9494

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

reposerver/repository/repository.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3163,6 +3163,6 @@ func (s *Service) GetChangeRevision(ctx context.Context, request *apiclient.Chan
31633163
}
31643164
}
31653165

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

0 commit comments

Comments
 (0)