We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92f09b8 commit 4fb9d50Copy full SHA for 4fb9d50
crates/stackable-operator/src/commons/networking.rs
@@ -79,7 +79,9 @@ impl FromStr for Host {
79
return Ok(Host::Hostname(hostname));
80
};
81
82
- Err(validation::Error::InvalidHost {})
+ Err(validation::Error::InvalidHost {
83
+ host: value.to_owned(),
84
+ })
85
}
86
87
crates/stackable-operator/src/validation.rs
@@ -92,9 +92,9 @@ pub enum Error {
92
TooLong { length: usize, max_length: usize },
93
94
#[snafu(display(
95
- "input is not a valid host, which needs to be either a hostname or IP address"
+ "The input '{host}' is not a valid host, which needs to be either a hostname or IP address"
96
))]
97
- InvalidHost {},
+ InvalidHost { host: String },
98
99
100
#[derive(Debug)]
0 commit comments