Skip to content

Commit

Permalink
whopos, shadowed. fun.
Browse files Browse the repository at this point in the history
  • Loading branch information
djeebus committed Dec 18, 2023
1 parent eeb7551 commit a7f7199
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/argo_client/manifests.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ import (
)

func GetManifestsLocal(ctx context.Context, name string, tempRepoDir string, changedAppFilePath string, app *argoappv1.Application) ([]string, error) {
var err error

ctx, span := otel.Tracer("Kubechecks").Start(ctx, "GetManifestsLocal")
defer span.End()

Expand All @@ -47,7 +49,7 @@ func GetManifestsLocal(ctx context.Context, name string, tempRepoDir string, cha

if app == nil {
appName := name
app, err := appClient.Get(ctx, &application.ApplicationQuery{
app, err = appClient.Get(ctx, &application.ApplicationQuery{
Name: &appName,
})
if err != nil {
Expand Down

0 comments on commit a7f7199

Please sign in to comment.