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 <[email protected]>
AuthorDate: Mon Mar 10 13:06:50 2025 +0100

    [YUNIKORN-3047] Fix problematic error returns (#960)
    
    Signed-off-by: cuishuang <[email protected]>
    
    Closes: #960
    
    Signed-off-by: Peter Bacsko <[email protected]>
---
 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to