1
0
mirror of https://github.com/rancher/norman.git synced 2025-09-01 07:08:59 +00:00

Fix no_etcd and k3s

This commit is contained in:
Darren Shepherd
2018-11-07 11:43:56 -07:00
parent 5bafd7b137
commit dec9be08bb
2 changed files with 2 additions and 3 deletions

View File

@@ -6,6 +6,6 @@ import (
"context"
)
func RunETCD(ctx context.Context) ([]string, error) {
func RunETCD(ctx context.Context, dataDir string) ([]string, error) {
return nil, nil
}

View File

@@ -4,12 +4,11 @@ package k8s
import (
"context"
"fmt"
"net/http"
"github.com/rancher/norman/pkg/remotedialer"
)
func NewK3sConfig(ctx context.Context, dataDir string, authorizer remotedialer.Authorizer) (context.Context, interface{}, http.Handler, error) {
return ctx, nil, nil, fmt.Errorf("k3s not compiled in, build with -tags k8s")
return ctx, nil, nil, nil
}