Skip to content

Commit

Permalink
Update compute template service url to include namespace path param (r…
Browse files Browse the repository at this point in the history
…ay-project#363)

Make it consistent with cluster service url. We may forget to expose the path param in last refactor.
  • Loading branch information
Jeffwan authored Jul 8, 2022
1 parent d1ee745 commit 8be3479
Show file tree
Hide file tree
Showing 4 changed files with 153 additions and 133 deletions.
2 changes: 1 addition & 1 deletion proto/config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ service ComputeTemplateService {
// Creates a new compute template.
rpc CreateComputeTemplate(CreateComputeTemplateRequest) returns (ComputeTemplate) {
option (google.api.http) = {
post: "/apis/v1alpha2/compute_templates"
post: "/apis/v1alpha2/namespaces/{namespace}/compute_templates"
body: "compute_template"
};
}
Expand Down
172 changes: 87 additions & 85 deletions proto/go_client/config.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8be3479

Please sign in to comment.