Skip to content

Commit

Permalink
Update utils.py
Browse files Browse the repository at this point in the history
Fix error to have the correct ENV Variable.
  • Loading branch information
craig8 authored Feb 1, 2025
1 parent 3a31977 commit 7d5721e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion volttron/platform/agent/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ def vip_main(agent_class, identity=None, version='0.1', **kwargs):
# TODO: Make required for all agents. Handle it through vctl and aip.
if not os.environ.get("_LAUNCHED_BY_PLATFORM"):
if not publickey or not secretkey:
raise ValueError("AGENT_PUBLIC and AGENT_SECRET environmental variables must "
raise ValueError("AGENT_PUBLICKEY and AGENT_SECRETKEY environmental variables must "
"be set to run without the platform.")

address = get_address()
Expand Down

0 comments on commit 7d5721e

Please sign in to comment.