mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-09 05:27:20 +09:00
M #-: Change DS default id in delete request (#3000)
Changes the default/fallback value of a failed delete request from 0 to -1. This invalidates the request and no datastore will be deleted. If it's set to 0, it will delete the system DS in case a delete request fails.
(cherry picked from commit 51aded8b80)
This commit is contained in:
1 parent
a2fab6a356
commit
4df088404d
1 file changed
+1
-1
@@ -64,7 +64,7 @@ module.exports = {
|
||||
params: {
|
||||
id: {
|
||||
from: resource,
|
||||
default: 0,
|
||||
default: -1,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user