From 1858f1e48d72f9ee9ec93e8b6e6f55d4771cdc59 Mon Sep 17 00:00:00 2001 From: Rustin170506 Date: Sat, 16 Nov 2024 12:01:01 +0800 Subject: [PATCH] fix: add centos9stream Signed-off-by: Rustin170506 --- src/model.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/model.rs b/src/model.rs index d0252e5..cabd329 100644 --- a/src/model.rs +++ b/src/model.rs @@ -202,7 +202,7 @@ impl FromStr for Image { return match lower.as_str() { "tispace/centos7" | "centos7" | "centos:7" => Ok(Self::CentOS7), "tispace/centos8" | "centos8" | "centos:8" => Ok(Self::CentOS8), - "tispace/centos9-stream" | "centos9-stream" | "centos:9-stream" => { + "tispace/centos9-stream" | "centos9-stream" | "centos:9-stream" | "centos9stream" => { Ok(Self::CentOS9Stream) } "tispace/ubuntu2004" | "ubuntu2004" | "ubuntu:20.04" => Ok(Self::Ubuntu2004),