Skip to content

Commit e6889e3

Browse files
zakiskchmouel
authored andcommitted
chore: Add deprecation log for repository status field
added deprecation warning log message for pipelinerun_status field in repository CR to bring it into user's attention. Signed-off-by: Zaki Shaikh <zashaikh@redhat.com>
1 parent f0042c7 commit e6889e3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/reconciler/status.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ func (r *Reconciler) updateRepoRunStatus(ctx context.Context, logger *zap.Sugare
7373
continue
7474
}
7575
logger.Infof("Repository status of %s has been updated", nrepo.Name)
76+
logger.Warn("The `pipelinerun_status` field in the Repository CR is scheduled for deprecation and will be removed in a future release. Please avoid relying on it.")
7677
return nil
7778
}
7879

0 commit comments

Comments
 (0)