1
0

Revert "fix: load, not import"

This reverts commit 35df5850f5.
This commit is contained in:
2024-02-21 18:55:48 +00:00
parent 4a1422e010
commit 8251927821
3 changed files with 5 additions and 5 deletions

View File

@ -77,13 +77,13 @@ func Images() (diis []Image, err error) {
return
}
func Load(path, name string) (err error) {
func Import(path, name string) (err error) {
exist := Container{name: name}.Exist()
if exist && UseCache {
return
}
cmd := exec.Command(Runtime, "load", path, name)
cmd := exec.Command(Runtime, "import", path, name)
log.Debug().Msgf("%v", cmd)
raw, err := cmd.CombinedOutput()