未验证 提交 6f97e3df 编写于 作者: K KubeSphere CI Bot 提交者: GitHub

Merge pull request #2093 from pengcong06/opbug

params key error: app -> app_id
......@@ -515,7 +515,7 @@ func (c *appTemplateOperator) ListAppVersionAudits(conditions *params.Conditions
if keyword := conditions.Match["keyword"]; keyword != "" {
describeAppVersionAudits.SearchWord = &wrappers.StringValue{Value: keyword}
}
if appId := conditions.Match["app"]; appId != "" {
if appId := conditions.Match[AppId]; appId != "" {
describeAppVersionAudits.AppId = []string{appId}
}
if versionId := conditions.Match["version"]; versionId != "" {
......@@ -586,7 +586,7 @@ func (c *appTemplateOperator) ListAppVersions(conditions *params.Conditions, ord
if keyword := conditions.Match["keyword"]; keyword != "" {
describeAppVersionsRequest.SearchWord = &wrappers.StringValue{Value: keyword}
}
if appId := conditions.Match["app"]; appId != "" {
if appId := conditions.Match[AppId]; appId != "" {
describeAppVersionsRequest.AppId = []string{appId}
}
if status := conditions.Match["status"]; status != "" {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册