Skip to content
This repository has been archived by the owner on Aug 25, 2022. It is now read-only.

Commit

Permalink
Correct redirect issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-sendible committed Feb 1, 2022
1 parent f29c0b3 commit a73dcb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions url-finder/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,9 @@ func urlGetter() {
fmt.Println("Your workflow name was invalid")
wrongWorkflow = 1
} else {
finalUrl = os.ExpandEnv("$ARGO_URL") + "archived-workflows/" + namespace + "/" + workflow1.Items[0].Metadata.UID
finalUrl = os.ExpandEnv("$ARGO_URL") + "/archived-workflows/" + namespace + "/" + workflow1.Items[0].Metadata.UID
}
} else {
finalUrl = os.ExpandEnv("$ARGO_URL") + "workflows/" + namespace + "/" + workflow1.Items[0].Metadata.Name
finalUrl = os.ExpandEnv("$ARGO_URL") + "/workflows/" + namespace + "/" + workflow1.Items[0].Metadata.Name
}
}

0 comments on commit a73dcb4

Please sign in to comment.