Last active
February 1, 2022 05:02
-
-
Save ihcsim/67d726b3298af29e9c4651beed18f0e1 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
fn main() { | |
let svc = "nginx.default".to_string(); | |
let strict = true; | |
if strict { | |
println!("svc: {}", fqdn(svc)); | |
} else { | |
println!("svc: {}", svc); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment