1 Star 0 Fork 16

yueyuankun/fence-agents

forked from src-openEuler/fence-agents 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
backport-fence_aliyun-update-order-for-new-parameters.patch 980 Bytes
一键复制 编辑 原始数据 按行查看 历史
From 860da80c03b4b154ca4495adb72b959e278d55b1 Mon Sep 17 00:00:00 2001
From: Oyvind Albrigtsen <oalbrigt@redhat.com>
Date: Tue, 2 Apr 2024 16:46:16 +0200
Subject: [PATCH 40/46] fence_aliyun: update order for new parameters
---
agents/aliyun/fence_aliyun.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/agents/aliyun/fence_aliyun.py b/agents/aliyun/fence_aliyun.py
index b271eb0b..788ac647 100644
--- a/agents/aliyun/fence_aliyun.py
+++ b/agents/aliyun/fence_aliyun.py
@@ -165,7 +165,7 @@ def define_new_opts():
"shortdesc": "Credentials file profile",
"required": "0",
"default": "default",
- "order": 6
+ "order": 7
}
all_opt["filter"] = {
"getopt": ":",
@@ -173,7 +173,7 @@ def define_new_opts():
"help": "--filter=[key=value] Filter (e.g. InstanceIds=[\"i-XXYYZZAA1\",\"i-XXYYZZAA2\"]",
"shortdesc": "Filter for list-action.",
"required": "0",
- "order": 7
+ "order": 8
}
# Main agent method
--
2.25.1
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yue-yuankun/fence-agents.git
git@gitee.com:yue-yuankun/fence-agents.git
yue-yuankun
fence-agents
fence-agents
master

搜索帮助