Skip to content

Commit 33b6069

Browse files
Add missing leading / to GetMicrogridMetadata()'s HTTP endpoint (#69)
This bug prevented building the gRPC gateway for the microgrid API. This fix should allow the gRPC gateway builds again.
2 parents c20fa34 + 1b525b3 commit 33b6069

File tree

2 files changed

+8
-21
lines changed

2 files changed

+8
-21
lines changed

RELEASE_NOTES.md

Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,32 +2,19 @@
22

33
## Summary
44

5-
This release upgrades the submodule `frequenz-api-common` to v0.3.0, and
6-
renames the message `EVCharger` to `EvCharger`.
5+
<!-- Here goes a general summary of what this release is about -->
76

87
## Upgrading
98

10-
* [Upgraded `frequenz-api-common` to v0.3.0](https://github.com/frequenz-floss/frequenz-api-microgrid/pull/65)
11-
12-
The submodule `frequenz-api-common` has been upgraded to v0.3.0.
13-
This version renames the enum representing EV charger types to `EvChargerType`
14-
and defined the `MetricAggregation` message, which was previously defined in
15-
`frequenz-api-microgrid`.
16-
17-
Since the message `MetricAggregation` is now being imported from the common
18-
specs, it has been removed from the file `common.proto`.
19-
20-
* [Renamed message `EVCharger` to `EvCharger`](https://github.com/frequenz-floss/frequenz-api-microgrid/pull/65)
21-
22-
This is done to use same naming convention as `frequenz-api-common`.
23-
Note that a similar renaming was done in `frequenz-api-common` v0.3.0 to
24-
improve the code quality of the derived rust code using prost.
25-
9+
<!-- Here goes notes on how to upgrade from previous versions, including if there are any deprecations and what they should be replaced with -->
2610

2711
## New Features
2812

29-
None
13+
<!-- Here goes the main new features and examples or instructions on how to use them -->
3014

3115
## Bug Fixes
3216

33-
None
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)