Skip to content

Commit 1b525b3

Browse files
Add leading / to GetMicrogridMetadata()'s HTTP endpoint
This bug prevented building the gRPC gateway for the microgrid API. This fix should allow the gRPC gateway builds again. Signed-off-by: Tiyash Basu <tiyash.basu@frequenz.com>
1 parent a278e42 commit 1b525b3

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

RELEASE_NOTES.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,7 @@
1414

1515
## Bug Fixes
1616

17-
<!-- Here goes notable bug fixes that are worth a special mention or explanation -->
17+
* [Added missing leading `/` to `GetMicrogridMetadata()`'s HTTP endpoint](https://github.com/frequenz-floss/frequenz-api-microgrid/pull/69)
18+
19+
This bug prevented building the gRPC gateway for the microgrid API.
20+
This fix should allow the gRPC gateway builds again.

proto/frequenz/api/microgrid/microgrid.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ service Microgrid {
3232
/// e.g., the microgrid ID, location.
3333
rpc GetMicrogridMetadata(google.protobuf.Empty) returns (MicrogridMetadata) {
3434
option (google.api.http) = {
35-
get : "v1/metadata"
35+
get : "/v1/metadata"
3636
};
3737
}
3838

0 commit comments

Comments
 (0)