Modification of options for update_image
This commit is contained in:
parent
8ad2a0aacd
commit
e2dacb129e
2 changed files with 20 additions and 12 deletions
|
@ -85,11 +85,7 @@ foreach ($list as $l) {
|
|||
|
||||
/*
|
||||
$opt_update = Array();
|
||||
$opt_update['name'] = "TestUpdate";
|
||||
$opt_update['visibility'] = 'public';
|
||||
$opt_update['minDisk'] = 1;
|
||||
$opt_update['protected'] = false;
|
||||
$opt_update['minRam'] = 15;
|
||||
$opt_update['name'] = "Test";
|
||||
|
||||
$update = $image->update_image($id_image, $opt_update);
|
||||
echo $update->name;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue