From 1e2b59d8de263909cf33fa455a7d269611b7c6fe Mon Sep 17 00:00:00 2001 From: Krishna Rajendran Date: Sun, 30 Jun 2024 22:05:34 -0700 Subject: [PATCH] Pass key in ssh example --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index a195c7c..1e513bf 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -27,7 +27,7 @@ //! let uri = "ssh://core@127.0.0.1:63169/run/user/501/podman/podman.sock"; //! let key: Option = Some("/path/to/key".into()); //! -//! let client = PodmanRestClient::new(uri, None).await.unwrap(); +//! let client = PodmanRestClient::new(uri, key).await.unwrap(); //! //! let images = client.images_api().image_list_libpod(None,None).await.unwrap(); //! # })