diff options
author | Matthias Beyer <matthias.beyer@atos.net> | 2021-01-04 14:58:15 +0100 |
---|---|---|
committer | Matthias Beyer <matthias.beyer@atos.net> | 2021-01-04 14:58:15 +0100 |
commit | 49eb6361d0dbaaa13a5e075aa53b41e17576fa2c (patch) | |
tree | 5a15a0f00691695e4b4f74d75dd0d42407da8df7 /src/endpoint | |
parent | 15a1338e5e959cfb2a5ad4e34a99824931dc8c01 (diff) |
Add PreparedContainer::create_info() getter for getting container id for error reporting
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
Diffstat (limited to 'src/endpoint')
-rw-r--r-- | src/endpoint/configured.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/endpoint/configured.rs b/src/endpoint/configured.rs index 8ef961a..61bd79d 100644 --- a/src/endpoint/configured.rs +++ b/src/endpoint/configured.rs @@ -193,9 +193,12 @@ impl Endpoint { } +#[derive(Getters)] pub struct PreparedContainer<'a> { endpoint: &'a Endpoint, script: Script, + + #[getset(get = "pub")] create_info: shiplift::rep::ContainerCreateInfo, } |