This provides a consistent interface for processing a hostname, and allows us to handle special cases in the host package instead of in this code. For example, the host package knows about managed instance group random suffixes on instance/node names, and can handle that gracefully for uuid-annotator.
This provides a consistent interface for processing a hostname, and allows us to handle special cases in the
host
package instead of in this code. For example, thehost
package knows about managed instance group random suffixes on instance/node names, and can handle that gracefully for uuid-annotator.This change is