mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/kube-vip/kube-vip.git
synced 2026-09-20 08:03:47 +08:00
15 lines
235 B
Go
15 lines
235 B
Go
package endpoints
|
|
|
|
import (
|
|
"testing"
|
|
|
|
v1 "k8s.io/api/core/v1"
|
|
)
|
|
|
|
func TestWireguardClearDoesNotDereferenceNilServiceContext(t *testing.T) {
|
|
worker := &wireguardWorker{}
|
|
service := &v1.Service{}
|
|
|
|
worker.clear(nil, nil, service)
|
|
}
|