File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
crates/stackable-operator/src/utils Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ const RESOLVE_CONF_FILE_PATH: &str = "/etc/resolv.conf";
1515// fall back to defaults instead? Also trace the errors
1616#[ derive( Debug , Snafu ) ]
1717pub enum Error {
18- #[ snafu( display( "failed to read resolv.conf " ) ) ]
18+ #[ snafu( display( "failed to read resolv config from {RESOLVE_CONF_FILE_PATH} " ) ) ]
1919 ReadResolvConfFile { source : std:: io:: Error } ,
2020
2121 #[ snafu( display( "failed to parse {cluster_domain:?} as domain name" ) ) ]
@@ -35,7 +35,7 @@ pub enum Error {
3535///
3636/// 1. Return `KUBERNETES_CLUSTER_DOMAIN` if set, otherwise
3737/// 2. Return the cluster domain parsed from the `/etc/resolv.conf` file if `KUBERNETES_SERVICE_HOST`
38- /// is set, otherwise fall back to `cluster.local`. cluster.
38+ /// is set, otherwise fall back to `cluster.local`.
3939///
4040/// This variable is initialized in [`crate::client::initialize_operator`], which is called in the
4141/// main function. It can be used as suggested below.
You can’t perform that action at this time.
0 commit comments