mirror of
https://git.vectorsigma.ru/public/k3s.git
synced 2026-08-03 08:29:39 +00:00
* initial windows port. Signed-off-by: Sean Yen <seanyen@microsoft.com> Signed-off-by: Derek Nola <derek.nola@suse.com> Co-authored-by: Derek Nola <derek.nola@suse.com> Co-authored-by: Wei Ran <weiran@microsoft.com>
18 lines
245 B
Go
18 lines
245 B
Go
package crictl
|
|
|
|
import (
|
|
"os"
|
|
"runtime"
|
|
|
|
"github.com/kubernetes-sigs/cri-tools/cmd/crictl"
|
|
"github.com/urfave/cli"
|
|
)
|
|
|
|
func Run(ctx *cli.Context) error {
|
|
if runtime.GOOS == "windows" {
|
|
os.Args = os.Args[1:]
|
|
}
|
|
crictl.Main()
|
|
return nil
|
|
}
|