This commit is contained in:
1 parent
48248fdf9c
commit
768e1c4f78
7 files changed
+32
-47
No files matched your search
+2
-3
@@ -247,9 +247,8 @@ fn main() {
|
||||
let context = match type_str {
|
||||
"local" => ContextConfig::Local,
|
||||
"ssh" => {
|
||||
let endpoint = args
|
||||
.get_one::<String>("endpoint")
|
||||
.unwrap_or_else(|| {
|
||||
let endpoint =
|
||||
args.get_one::<String>("endpoint").unwrap_or_else(|| {
|
||||
error!(
|
||||
"An --endpoint is required to create an ssh context. \
|
||||
Expected format: [ssh://][user@]host[:port]"
|
||||
|
||||
Reference in new issue
Block a user