You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by pb...@apache.org on 2025/03/10 12:07:23 UTC
(yunikorn-k8shim) branch master updated: [YUNIKORN-3047] Fix problematic error returns (#960)
This is an automated email from the ASF dual-hosted git repository.
pbacsko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/yunikorn-k8shim.git
The following commit(s) were added to refs/heads/master by this push:
new f4aeeba9 [YUNIKORN-3047] Fix problematic error returns (#960)
f4aeeba9 is described below
commit f4aeeba9a46000caa4ecd892145e3de94d8ee78e
Author: cuishuang <im...@gmail.com>
AuthorDate: Mon Mar 10 13:06:50 2025 +0100
[YUNIKORN-3047] Fix problematic error returns (#960)
Signed-off-by: cuishuang <im...@gmail.com>
Closes: #960
Signed-off-by: Peter Bacsko <ba...@gmail.com>
---
test/e2e/framework/helpers/yunikorn/rest_api_utils.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/e2e/framework/helpers/yunikorn/rest_api_utils.go b/test/e2e/framework/helpers/yunikorn/rest_api_utils.go
index 102bc335..f57c0ab0 100644
--- a/test/e2e/framework/helpers/yunikorn/rest_api_utils.go
+++ b/test/e2e/framework/helpers/yunikorn/rest_api_utils.go
@@ -488,7 +488,7 @@ func (c *RClient) LogQueuesInfo() error {
}
qJSON, qJSONErr := json.MarshalIndent(qInfo, "", " ")
if qJSONErr != nil {
- return getQErr
+ return qJSONErr
}
By("Queues REST API response is\n" + string(qJSON))
return nil
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org