Skip to content

Commit

Permalink
Merge pull request #1970 from Bee-lee/dvo-endpoints-storage
Browse files Browse the repository at this point in the history
fix wrong param name in DVO endpoints
  • Loading branch information
Bee-lee authored Feb 26, 2024
2 parents d2f0218 + 47dd3f1 commit e5a5519
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/endpoints.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ const (
ClustersRecommendationsListEndpoint = "clusters/organizations/{org_id}/users/{user_id}/recommendations"

// DVOWorkloadRecommendations returns a list of cluster + namespace workloads for given organization ID.
DVOWorkloadRecommendations = "organization/{organization}/workloads"
DVOWorkloadRecommendations = "organization/{org_id}/workloads"
// DVOWorkloadRecommendationsSingleNamespace returns workloads for a single cluster + namespace ID.
DVOWorkloadRecommendationsSingleNamespace = "organization/{organization}/namespace/{namespace}/cluster/{cluster}/workloads"
DVOWorkloadRecommendationsSingleNamespace = "organization/{org_id}/namespace/{namespace}/cluster/{cluster}/workloads"

// Rating accepts a list of ratings in the request body and store them in the database for the given user
Rating = "rules/organizations/{org_id}/rating"
Expand Down

0 comments on commit e5a5519

Please sign in to comment.