Skip to content

Commit

Permalink
Fix API url for Grafana deployment annotation (#86)
Browse files Browse the repository at this point in the history
* Fix API url for Grafana deployment annotation

* v0.12.1
  • Loading branch information
baksetercx authored Oct 23, 2024
1 parent b21da0c commit 7e3a9c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.12.0
0.12.1
6 changes: 3 additions & 3 deletions pkg/deploy/grafana.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ func addGrafanaDeploymentAnnotation(
) error {
what := func() string {
if wasSuccessful {
return "Deploy successful"
return "Deploy successful."
}
return "Deploy failed"
return "Deploy failed."
}()

grafanaAnnotation := GrafanaAnnotation{
Expand Down Expand Up @@ -122,7 +122,7 @@ func addGrafanaDeploymentAnnotation(
5*time.Second,
func(i int, duration time.Duration) error {
statusCode, err := sendRequest(
grafanaURL,
grafanaURL+"annotations/graphite",
grafanaSecret,
body,
)
Expand Down

0 comments on commit 7e3a9c0

Please sign in to comment.