mirror of
https://github.com/rancher/norman.git
synced 2025-09-01 15:18:20 +00:00
Fix no_etcd and k3s
This commit is contained in:
@@ -6,6 +6,6 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
)
|
)
|
||||||
|
|
||||||
func RunETCD(ctx context.Context) ([]string, error) {
|
func RunETCD(ctx context.Context, dataDir string) ([]string, error) {
|
||||||
return nil, nil
|
return nil, nil
|
||||||
}
|
}
|
||||||
|
@@ -4,12 +4,11 @@ package k8s
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"fmt"
|
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"github.com/rancher/norman/pkg/remotedialer"
|
"github.com/rancher/norman/pkg/remotedialer"
|
||||||
)
|
)
|
||||||
|
|
||||||
func NewK3sConfig(ctx context.Context, dataDir string, authorizer remotedialer.Authorizer) (context.Context, interface{}, http.Handler, error) {
|
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
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user