Last active
January 31, 2022 23:10
-
-
Save ihcsim/5638d9ef096cdbdfd7e8e9433f1b1b02 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func main() { | |
svc := "nginx.default" | |
strict := true | |
if strict { | |
fmt.Printf("%s\n", fqdn(svc)) | |
} else { | |
fmt.Printf("%s\n", svc) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment