Print a criu version in a error message
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
parent
efb2bc3fb0
commit
d307e85dbb
|
@ -637,7 +637,7 @@ func (c *linuxContainer) checkCriuVersion(minVersion string) error {
|
|||
c.criuVersion = x*10000 + y*100 + z
|
||||
|
||||
if c.criuVersion < versionReq {
|
||||
return fmt.Errorf("CRIU version must be %s or higher", minVersion)
|
||||
return fmt.Errorf("CRIU version %d must be %d or higher", c.criuVersion, versionReq)
|
||||
}
|
||||
|
||||
return nil
|
||||
|
|
Loading…
Reference in New Issue