mirror of
https://github.com/goharbor/harbor.git
synced 2024-09-30 06:18:02 +02:00
pass govet
This commit is contained in:
parent
8939b54448
commit
3450b0160b
@ -922,7 +922,7 @@ func TestGetRepPolicyByTarget(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if policies[0].ID != policyID {
|
if policies[0].ID != policyID {
|
||||||
t.Fatal("unexpected policy: %d, expected: %d", policies[0].ID, policyID)
|
t.Fatalf("unexpected policy: %d, expected: %d", policies[0].ID, policyID)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user