Skip to content

Commit

Permalink
Update internal/pkg/argocd/argocd.go
Browse files Browse the repository at this point in the history
Co-authored-by: Hannes Gustafsson <[email protected]>
  • Loading branch information
ashvarts and hnnsgstfssn authored Dec 4, 2024
1 parent 9ce65b5 commit a29fdf5
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions internal/pkg/argocd/argocd.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,6 @@ import (
// ctxLines is the number of context lines used in application diffs.
const ctxLines = 10

// replace in testing
var InitArgoClients = func() (argoCdClients, error) {
argoClients, err := createArgoCdClients()
if err != nil {
return argoCdClients{}, fmt.Errorf("error creating ArgoCD clients: %w", err)
}
return argoClients, nil
}

type argoCdClients struct {
app application.ApplicationServiceClient
project projectpkg.ProjectServiceClient
Expand Down

0 comments on commit a29fdf5

Please sign in to comment.