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:
@@ -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
|
||||
}
|
||||
|
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user