refactor: work with new docker lib

This commit is contained in:
Jef Roosens 2023-01-05 17:05:25 +01:00
parent b5ff50066b
commit 5176266ca1
Signed by untrusted user: Jef Roosens
GPG key ID: B75D4F293C7052DB
4 changed files with 5 additions and 5 deletions

View file

@ -269,6 +269,6 @@ fn (mut d Daemon) clean_old_base_images() {
// wasn't deleted. Therefore, we move the index over. If the function
// returns true, the array's length has decreased by one so we don't
// move the index.
dd.remove_image(d.builder_images[i]) or { i += 1 }
dd.image_remove(d.builder_images[i]) or { i += 1 }
}
}