I found that it's cleaner without the custom unwrap_not_found. Also,
configmaps.get_opt() does the same as the custom implementation using
get(). It checks for 404.
Note however that I couldn't test the code, because I don't use Kubernetes; I was just curious about the Rust bits. :)
I found that it's cleaner without the custom `unwrap_not_found`. Also,
`configmaps.get_opt()` does the same as the custom implementation using
`get()`. It checks for 404.
Note however that I couldn't test the code, because I don't use Kubernetes; I was just curious about the Rust bits. :)