mirror of
https://github.com/k3s-io/k3s.git
synced 2026-04-06 18:05:05 -04: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>
17 lines
233 B
Go
17 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
|
|
}
|