mirror of
https://git.vectorsigma.ru/public/k3s.git
synced 2026-07-28 23:49:33 +00:00
18 lines
230 B
Go
18 lines
230 B
Go
package crictl
|
|
|
|
import (
|
|
"os"
|
|
"runtime"
|
|
|
|
"github.com/urfave/cli"
|
|
"sigs.k8s.io/cri-tools/cmd/crictl"
|
|
)
|
|
|
|
func Run(ctx *cli.Context) error {
|
|
if runtime.GOOS == "windows" {
|
|
os.Args = os.Args[1:]
|
|
}
|
|
crictl.Main()
|
|
return nil
|
|
}
|