From ad006496ef1d00dc4f56354146192c06eceab159 Mon Sep 17 00:00:00 2001 From: "A.Unger" Date: Fri, 16 Apr 2021 13:53:38 +0200 Subject: [PATCH] remove unused reference --- ocis/pkg/runtime/cmd/run.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/ocis/pkg/runtime/cmd/run.go b/ocis/pkg/runtime/cmd/run.go index 0312fc6b4..1c977b0fc 100644 --- a/ocis/pkg/runtime/cmd/run.go +++ b/ocis/pkg/runtime/cmd/run.go @@ -5,10 +5,8 @@ import ( "log" "net" "net/rpc" - "os" "github.com/owncloud/ocis/ocis/pkg/runtime/config" - "github.com/owncloud/ocis/ocis/pkg/runtime/process" "github.com/spf13/cobra" ) @@ -23,11 +21,8 @@ func Run(cfg *config.Config) *cobra.Command { if err != nil { log.Fatal("dialing:", err) } - - proc := process.NewProcEntry(args[0], os.Environ(), []string{args[0]}...) var res int - - if err := client.Call("Service.Start", proc, &res); err != nil { + if err := client.Call("Service.Start", &args[0], &res); err != nil { log.Fatal(err) }