Mock out rootlessports on windows

This commit is contained in:
Knic Knic 2020-04-21 15:43:36 -07:00
parent 553517e194
commit d919a0b998

View File

@ -2,9 +2,10 @@ package rootlessports
import (
"context"
coreClients "github.com/rancher/wrangler-api/pkg/generated/controllers/core/v1"
)
func Register(ctx context.Context, serviceController coreClients.ServiceController, httpsPort int) error {
func Register(ctx context.Context, serviceController coreClients.ServiceController, enabled bool, httpsPort int) error {
panic("Rootless is not supported on windows")
}