Skip to content

Commit b9f6dd4

Browse files
committed
Replace HOST/PORT with URL in example
Now that the `microgrid.initialize()` uses a URL, it makes more sense to specify a URL too. Signed-off-by: Leandro Lucarella <[email protected]>
1 parent 97da4db commit b9f6dd4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/battery_pool.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@
1313
from frequenz.sdk import microgrid
1414
from frequenz.sdk.actor import ResamplerConfig
1515

16-
HOST = "microgrid.sandbox.api.frequenz.io" # it should be the host name.
17-
PORT = 62060
16+
MICROGRID_API_URL = "grpc://microgrid.sandbox.api.frequenz.io:62060"
1817

1918

2019
async def main() -> None:

0 commit comments

Comments
 (0)