c/shepherd/equinix/wrapngo: correct metric endpoint matcher
As stated in the error message its projects instead of project
Change-Id: I4bee1fd7821d80280b314b8beaecfd88e48d81fd
Reviewed-on: https://review.monogon.dev/c/monogon/+/1822
Reviewed-by: Serge Bazanski <serge@monogon.tech>
Tested-by: Jenkins CI
diff --git a/cloud/shepherd/equinix/wrapngo/metrics.go b/cloud/shepherd/equinix/wrapngo/metrics.go
index 0f4cc94..fef506b 100644
--- a/cloud/shepherd/equinix/wrapngo/metrics.go
+++ b/cloud/shepherd/equinix/wrapngo/metrics.go
@@ -93,7 +93,7 @@
"GetDevice": {"GET", regexp.MustCompile(`^/devices/[^/]+$`)},
"ListDevices": {"GET", regexp.MustCompile(`^/(organizations|projects)/[^/]+/devices$`)},
"CreateDevice": {"POST", regexp.MustCompile(`^/projects/[^/]+/devices$`)},
- "ListReservations": {"GET", regexp.MustCompile(`^/project/[^/]+/hardware-reservations$`)},
+ "ListReservations": {"GET", regexp.MustCompile(`^/projects/[^/]+/hardware-reservations$`)},
"ListSSHKeys": {"GET", regexp.MustCompile(`^/ssh-keys$`)},
"CreateSSHKey": {"POST", regexp.MustCompile(`^/project/[^/]+/ssh-keys$`)},
"GetSSHKey": {"GET", regexp.MustCompile(`^/ssh-keys/[^/]+$`)},