Skip to content

Commit

Permalink
Adding removed code and removing string from log.
Browse files Browse the repository at this point in the history
  • Loading branch information
ariadnarouco committed Aug 12, 2024
1 parent 99ab36b commit c1e9dd7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions analysis/controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,11 @@ func (f *fixture) run(analysisRunName string) {
f.runController(analysisRunName, true, false, c, i, k8sI)
}

func (f *fixture) runExpectError(analysisRunName string, startInformers bool) { //nolint:unused
c, i, k8sI := f.newController(noResyncPeriodFunc)
f.runController(analysisRunName, startInformers, true, c, i, k8sI)
}

func (f *fixture) runController(analysisRunName string, startInformers bool, expectError bool, c *Controller, i informers.SharedInformerFactory, k8sI kubeinformers.SharedInformerFactory) *Controller {
if startInformers {
stopCh := make(chan struct{})
Expand Down
2 changes: 1 addition & 1 deletion cmd/rollouts-controller/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ func newCommand() *cobra.Command {
}
logutil.SetKLogLogger(logger)
logutil.SetKLogLevel(klogLevel)
log.WithField("version", version.GetVersion()).Info("Argo Rollouts starting - Adevinta Version")
log.WithField("version", version.GetVersion()).Info("Argo Rollouts starting")

// set up signals so we handle the first shutdown signal gracefully
ctx := signals.SetupSignalHandlerContext()
Expand Down

0 comments on commit c1e9dd7

Please sign in to comment.