Skip to content

Commit 7d5721e

Browse files
authored
Update utils.py
Fix error to have the correct ENV Variable.
1 parent 3a31977 commit 7d5721e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

volttron/platform/agent/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ def vip_main(agent_class, identity=None, version='0.1', **kwargs):
466466
# TODO: Make required for all agents. Handle it through vctl and aip.
467467
if not os.environ.get("_LAUNCHED_BY_PLATFORM"):
468468
if not publickey or not secretkey:
469-
raise ValueError("AGENT_PUBLIC and AGENT_SECRET environmental variables must "
469+
raise ValueError("AGENT_PUBLICKEY and AGENT_SECRETKEY environmental variables must "
470470
"be set to run without the platform.")
471471

472472
address = get_address()

0 commit comments

Comments
 (0)