Skip to content

Commit e0258ce

Browse files
change argument name from _ids to volumes
Signed-off-by: Tyler Critchlow <tylerdarincritchlow@gmail.com>
1 parent 196a1bd commit e0258ce

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pkg/rancher-desktop/pages/Volumes.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,9 +246,9 @@ export default Vue.extend({
246246
async deleteVolume(volume) {
247247
await this.execCommand('volume rm', volume);
248248
},
249-
async execCommand(command, _ids) {
249+
async execCommand(command, volumes) {
250250
try {
251-
const ids = Array.isArray(_ids) ? _ids.map(v => v.Name) : [_ids.Name];
251+
const ids = Array.isArray(volumes) ? volumes.map(v => v.Name) : [volumes.Name];
252252
const [baseCommand, ...subCommands] = command.split(' ');
253253
254254
console.info(`Executing command ${ command } on volume ${ ids }`);

0 commit comments

Comments
 (0)