Remove use of v1 runtime plugin type for Unix
Signed-off-by: Derek McGowan <derek@mcg.dev>
This commit is contained in:
parent
71f8b4357e
commit
0a4f792117
@ -21,7 +21,6 @@ import (
|
||||
"context"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"runtime"
|
||||
"strconv"
|
||||
"strings"
|
||||
"sync"
|
||||
@ -185,7 +184,7 @@ func NewWithConn(conn *grpc.ClientConn, opts ...ClientOpt) (*Client, error) {
|
||||
c := &Client{
|
||||
defaultns: copts.defaultns,
|
||||
conn: conn,
|
||||
runtime: plugins.RuntimePlugin.String() + "." + runtime.GOOS,
|
||||
runtime: defaults.DefaultRuntime,
|
||||
}
|
||||
|
||||
if copts.defaultPlatform != nil {
|
||||
|
@ -25,7 +25,6 @@ import (
|
||||
|
||||
var tasksServiceRequires = []plugin.Type{
|
||||
plugins.EventPlugin,
|
||||
plugins.RuntimePlugin,
|
||||
plugins.RuntimePluginV2,
|
||||
plugins.MetadataPlugin,
|
||||
plugins.TaskMonitorPlugin,
|
||||
|
Loading…
Reference in New Issue
Block a user