From 4c5788bac6d57ced3498ea54100c924592596dab Mon Sep 17 00:00:00 2001 From: Doug Rabson Date: Mon, 27 Jun 2022 08:11:19 +0100 Subject: Fix spelling of GetCriuVersion Signed-off-by: Doug Rabson --- pkg/criu/criu_linux.go | 2 +- pkg/criu/criu_unsupported.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'pkg/criu') diff --git a/pkg/criu/criu_linux.go b/pkg/criu/criu_linux.go index 1d4c0a782..c28e23fd7 100644 --- a/pkg/criu/criu_linux.go +++ b/pkg/criu/criu_linux.go @@ -38,7 +38,7 @@ func MemTrack() bool { return *features.MemTrack } -func GetCriuVestion() (int, error) { +func GetCriuVersion() (int, error) { c := criu.MakeCriu() return c.GetCriuVersion() } diff --git a/pkg/criu/criu_unsupported.go b/pkg/criu/criu_unsupported.go index 464c09908..437482a0e 100644 --- a/pkg/criu/criu_unsupported.go +++ b/pkg/criu/criu_unsupported.go @@ -11,6 +11,6 @@ func MemTrack() bool { return false } -func GetCriuVestion() (int, error) { +func GetCriuVersion() (int, error) { return MinCriuVersion, nil } -- cgit v1.2.3-54-g00ecf