Skip to content

Commit

Permalink
chore: clean up
Browse files Browse the repository at this point in the history
Signed-off-by: João Vanzuita <joao@kubeshop.io>
  • Loading branch information
João Vanzuita committed Jul 21, 2022
1 parent 7eb1c87 commit b2ab5f1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/argocd/argocd.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ func SyncRetry(httpClient pkg.HTTPDoer, attempts int, interval int, applicationN
func Sync(httpClient pkg.HTTPDoer, applicationName string, argoCDToken string) (httpCodeResponse int, syncStatus string, Error error) {

url := fmt.Sprintf("%s/api/v1/applications/%s/sync", viper.GetString("argocd.local.service"), applicationName)
//url := fmt.Sprintf("%s/v1/api/sync", "http://localhost:9090")
fmt.Println(url)
req, err := http.NewRequest(http.MethodPost, url, nil)
if err != nil {
Expand Down

0 comments on commit b2ab5f1

Please sign in to comment.