mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-23 22:50:09 +03: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 51aded8b80da298f6a478ce79f70c8a572a14a34)
This commit is contained in:
parent
ecb01f37f4
commit
ec5b7c8945
@ -64,7 +64,7 @@ module.exports = {
|
||||
params: {
|
||||
id: {
|
||||
from: resource,
|
||||
default: 0,
|
||||
default: -1,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user