Skip to content

Commit

Permalink
include json so metadata.name comes through
Browse files Browse the repository at this point in the history
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
  • Loading branch information
AustinAbro321 committed Nov 5, 2024
1 parent f49e519 commit 2f3215b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/internal/agent/hooks/argocd-application.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ import (
//
// For more information: https://argo-cd.readthedocs.io/en/stable/user-guide/import/
type Application struct {
Spec ApplicationSpec `json:"spec"`
metav1.ObjectMeta
Spec ApplicationSpec `json:"spec"`
metav1.ObjectMeta `json:"metadata,omitempty"`
}

// ApplicationSpec represents desired application state. Contains link to repository with application definition.
Expand Down

0 comments on commit 2f3215b

Please sign in to comment.