Skip to content

Commit

Permalink
chore: add ut and docs for sidecar injector
Browse files Browse the repository at this point in the history
Signed-off-by: seeflood <zhou.qunli@foxmail.com>
  • Loading branch information
seeflood committed Apr 10, 2024
1 parent a4beaaf commit 91d39c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/injector/patcher/sidecar_patcher_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ func TestGetPatch(t *testing.T) {
if err != nil {
t.Errorf("Unexpected error: %v", err)
}
if patch == nil || len(patch) == 0 {
if len(patch) == 0 {
t.Errorf("Expected patch, got nil or empty")
}
})
Expand Down

0 comments on commit 91d39c5

Please sign in to comment.