File tree 1 file changed +10
-5
lines changed
1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -194,11 +194,11 @@ function pullImage() {
194
194
if [[ " $VM " != ' default' ]]; then
195
195
export LIMA_INSTANCE=" $VM "
196
196
fi
197
- displayNotification lima " Pulling ${imageName} ..."
198
- if lima nerdctl image pull " $imageName " ; then
199
- displayNotification Lima " Pulled $imageName "
197
+ displayNotification lima " Pulling ${imageName} on ${VM} ..."
198
+ if lima nerdctl image pull " ${ imageName} " ; then
199
+ displayNotification Lima " Pulled ${ imageName} "
200
200
else
201
- displayAlert Lima " Failed to pull $imageName "
201
+ displayAlert Lima " Failed to pull ${ imageName} on ${VM} "
202
202
fi
203
203
}
204
204
@@ -212,7 +212,12 @@ function rmImage() {
212
212
if [[ " $VM " != ' default' ]]; then
213
213
export LIMA_INSTANCE=" $VM "
214
214
fi
215
- lima nerdctl image rm " $imageName "
215
+ displayNotification lima " Removing ${imageName} from ${VM} ..."
216
+ if lima nerdctl image rm " ${imageName} " ; then
217
+ displayNotification Lima " Removed ${imageName} "
218
+ else
219
+ displayAlert Lima " Failed to remove ${imageName} "
220
+ fi
216
221
}
217
222
218
223
function processMenuCommand() {
You can’t perform that action at this time.
0 commit comments