mirror of
https://github.com/argoproj/argo-cd.git
synced 2026-02-20 01:28:45 +01:00
chore(ci): upgrade golangci-lint to v2 (#22484)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
@@ -191,7 +191,7 @@ func (c *notificationController) Init(ctx context.Context) error {
|
||||
go c.configMapInformer.Run(ctx.Done())
|
||||
|
||||
if !cache.WaitForCacheSync(ctx.Done(), c.appInformer.HasSynced, c.appProjInformer.HasSynced, c.secretInformer.HasSynced, c.configMapInformer.HasSynced) {
|
||||
return errors.New("Timed out waiting for caches to sync")
|
||||
return errors.New("timed out waiting for caches to sync")
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
@@ -166,7 +166,7 @@ func TestInitTimeout(t *testing.T) {
|
||||
err = nc.Init(ctx)
|
||||
|
||||
// Expect an error & add assertion for the error message
|
||||
assert.EqualError(t, err, "Timed out waiting for caches to sync")
|
||||
assert.EqualError(t, err, "timed out waiting for caches to sync")
|
||||
}
|
||||
|
||||
func TestCheckAppNotInAdditionalNamespaces(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user