mirror of
https://git.vectorsigma.ru/public/k3s.git
synced 2026-08-01 23:19:41 +00:00
* Bump rootlesskit tov 1.1.1, last of the v1 line * Migrate to urfavecli v2 * Disable StringSlice seperattion Signed-off-by: Derek Nola <derek.nola@suse.com>
18 lines
233 B
Go
18 lines
233 B
Go
package crictl
|
|
|
|
import (
|
|
"os"
|
|
"runtime"
|
|
|
|
"github.com/urfave/cli/v2"
|
|
"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
|
|
}
|