File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,9 @@ func listArgocdRemoteScopes(
6363 } `json:"metadata"`
6464 Spec struct {
6565 Project string `json:"project"`
66+ Source struct {
67+ RepoURL string `json:"repoURL"`
68+ } `json:"source"`
6669 } `json:"spec"`
6770 } `json:"items"`
6871 }
@@ -107,6 +110,9 @@ func listArgocdRemoteScopes(
107110 } `json:"metadata"`
108111 Spec struct {
109112 Project string `json:"project"`
113+ Source struct {
114+ RepoURL string `json:"repoURL"`
115+ } `json:"source"`
110116 } `json:"spec"`
111117 } `json:"items"`
112118 }
@@ -126,6 +132,7 @@ func listArgocdRemoteScopes(
126132 Name : item .Metadata .Name ,
127133 Namespace : item .Metadata .Namespace ,
128134 Project : item .Spec .Project ,
135+ RepoURL : item .Spec .Source .RepoURL ,
129136 }
130137 app .ConnectionId = connection .ID
131138
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ type ArgocdApplication struct {
3131 Name string `gorm:"type:varchar(255);primaryKey" json:"name" mapstructure:"name" validate:"required"`
3232 Namespace string `gorm:"type:varchar(255)" json:"namespace" mapstructure:"namespace"`
3333 Project string `gorm:"type:varchar(255)" json:"project" mapstructure:"project"`
34- RepoURL string `gorm:"type:varchar(500)" json:"repoUrl " mapstructure:"repoUrl "`
34+ RepoURL string `gorm:"type:varchar(500)" json:"repoURL " mapstructure:"repoURL "`
3535 Path string `gorm:"type:varchar(255)" json:"path" mapstructure:"path"`
3636 TargetRevision string `gorm:"type:varchar(255)" json:"targetRevision" mapstructure:"targetRevision"`
3737 DestServer string `gorm:"type:varchar(255)" json:"destServer" mapstructure:"destServer"`
You can’t perform that action at this time.
0 commit comments