This replaces host.String() with host.StringWithService() so that v3 hostnames (<service>-<metro><asn>-<ipv4>...) can work.
In our daemonset templates uuid-annotator is passed MLAB_NODE_NAME which does not include the service name, so this change shouldn't affect uuid-annotator's typical usage while enabling BYOS hostnames.
This replaces
host.String()
withhost.StringWithService()
so that v3 hostnames (<service>-<metro><asn>-<ipv4>...
) can work.In our daemonset templates uuid-annotator is passed
MLAB_NODE_NAME
which does not include the service name, so this change shouldn't affect uuid-annotator's typical usage while enabling BYOS hostnames.This change is