This is an automated email from the ASF dual-hosted git repository.

roryqi pushed a commit to branch support-annotations
in repository https://gitbox.apache.org/repos/asf/incubator-uniffle.git

commit 6c555547f704a53852e72d791438f21c4a4f2d99
Author: Rory <ror...@apache.org>
AuthorDate: Fri Jun 21 16:11:53 2024 +0800

    fix style
---
 .../operator/pkg/controller/sync/shuffleserver/shuffleserver_test.go    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/deploy/kubernetes/operator/pkg/controller/sync/shuffleserver/shuffleserver_test.go
 
b/deploy/kubernetes/operator/pkg/controller/sync/shuffleserver/shuffleserver_test.go
index 0a51a52d4..8fb5f6afd 100644
--- 
a/deploy/kubernetes/operator/pkg/controller/sync/shuffleserver/shuffleserver_test.go
+++ 
b/deploy/kubernetes/operator/pkg/controller/sync/shuffleserver/shuffleserver_test.go
@@ -557,10 +557,10 @@ func TestGenerateSts(t *testing.T) {
                                                        return false, 
fmt.Errorf("generated deploy should include annotations: %v", testAnotations)
                                                }
                                        }
-                                       return true, nil
                                } else {
                                        return false, fmt.Errorf("generated 
deploy should include annotations: %v", testAnotations)
                                }
+                               return true, nil
                        },
                },
        } {

Reply via email to