7 Commits
Author SHA1 Message Date
Andrii KorotkovandGitHub f60ead34ca fix: Use t.Fatal instead of os.Exit in tests (part 2) (#21003) (#22187)
Signed-off-by: Andrii Korotkov <[email protected]>
2025-03-06 19:24:07 +00:00
Andrii KorotkovandGitHub 2d56f35a05 fix(test): Use t.Fatal instead of os.Exit in tests (part 1) (#21003) (#22114)
Signed-off-by: Andrii Korotkov <[email protected]>
2025-03-03 13:36:13 -05:00
Matthieu MORELandGitHub 7a212a833c chore: enable use-any from revive (#21282)
Signed-off-by: Matthieu MOREL <[email protected]>
2025-01-02 18:26:59 -05:00
Matthieu MORELandGitHub 483a5e85a0 chore: enable errorlint linter on util folder (#18588)
Signed-off-by: Matthieu MOREL <[email protected]>
2024-06-11 10:42:32 -04:00
Michael CrenshawandGitHub 9c08dc2d61 chore: remove orphaned code (#9171)
Signed-off-by: Michael Crenshaw <[email protected]>
2022-04-26 22:00:35 +03:00
Jan GräfenandGitHub 7276a74d53 fix: Declarative helm repositories with missing secret causes all repositories in ArgoCD to lock (#3492) (#5363)
* Add test for get repository credentials

Signed-off-by: Jan Graefen <[email protected]>

* Log error on missing repository credentials

Signed-off-by: Jan Graefen <[email protected]>

* Fix import formatting

Signed-off-by: Jan Graefen <[email protected]>

* Use connection state instead of logging

Just logging the error will be a bad user
experience, since it provides no direct feedback
as before.

Signed-off-by: Jan Graefen <[email protected]>

* Fix test to check for connection state

Signed-off-by: Jan Graefen <[email protected]>

* Do not expose technical message directly

Instead of displaying a technical error message
that might expose critical information about the
cluster, we only display a generic error message.
The actual error is then logged to the server
logged, so that an administrator can further
drill down into the problem

Signed-off-by: Jan Graefen <[email protected]>

* Adapt tests to new error message

Signed-off-by: Jan Graefen <[email protected]>

* Retrigger CI pipeline

Signed-off-by: Jan Graefen <[email protected]>

* See if I am actually the cause of this error

Signed-off-by: Jan Graefen <[email protected]>

* Revert changes to evaluate CodeQL result

Signed-off-by: Jan Graefen <[email protected]>

* Desperate attempt to find the cause of the CodeQL error

Signed-off-by: Jan Graefen <[email protected]>

* Revert "Desperate attempt to find the cause of the CodeQL error"

This reverts commit a38ff650

Signed-off-by: Jan Graefen <[email protected]>

* Fix first to review findings

Signed-off-by: Jan Graefen <[email protected]>

* Propose a better function name and add docu

Signed-off-by: Jan Graefen <[email protected]>

* Overwrite connection status for refresh as well

Signed-off-by: Jan Graefen <[email protected]>

* Fix goimports lint issue

Signed-off-by: Jan Graefen <[email protected]>
2021-02-16 07:38:06 +01:00
Alexander MatyushentsevandGitHub 301d9bf4c9 refactor: upgrade gitops-engine version ( breaking API changes related to logr mirgation ) (#4652) 2020-10-27 14:10:24 -07:00