Hello, can someone please point me to the code tha...
# ask-community
m
Hello, can someone please point me to the code that sets the default label on an Agent? Note that I am also not on Prefect 2.0 yet 😕
✅ 1
m
Hey @Matthew Millendorf I'm not sure on the exact locale of the code but you can disable the default label for local agents using the
--no-hostname-label
flag when starting an agent. Unless I'm mistaken I don't believe any other agent types utilize a default label. https://docs-v1.prefect.io/orchestration/agents/local.html#labels
m
Yep, thats it thank you