mirror of
https://github.com/kubernetes/client-go.git
synced 2025-09-26 15:17:05 +00:00
Cleanup staticcheck issues for package in client-go.
Kubernetes-commit: c8c055b3163dd2661b3f9dd1b0ffb718a61aba24
This commit is contained in:
committed by
Kubernetes Publisher
parent
8248d0a0e6
commit
532b6f676e
@@ -376,6 +376,9 @@ func TestGetPortsReturnsDynamicallyAssignedLocalPort(t *testing.T) {
|
||||
<-pf.Ready
|
||||
|
||||
ports, err := pf.GetPorts()
|
||||
if err != nil {
|
||||
t.Fatalf("Failed to get ports. error: %v", err)
|
||||
}
|
||||
|
||||
if len(ports) != 1 {
|
||||
t.Fatalf("expected 1 port, got %d", len(ports))
|
||||
|
Reference in New Issue
Block a user