lib/dcmgr/endpoints/errors.rb in wakame-vdc-dcmgr-10.11.0 vs lib/dcmgr/endpoints/errors.rb in wakame-vdc-dcmgr-10.12.0

- old
+ new

@@ -43,9 +43,13 @@ define_error(:UndefinedRequiredParameter, 400) define_error(:InvalidVolumeSize, 400) define_error(:OutOfHostCapacity, 400) define_error(:UnknownSshKeyPair, 404) define_error(:UndefinedStoragePoolID, 400) + define_error(:DetachVolumeFailure, 400) + define_error(:AttachVolumeFailure, 400) + define_error(:InvalidInstanceState, 400) + define_error(:DuplicateHostname, 400) # netfilter_group define_error(:UndefinedNetfilterGroup, 400) define_error(:UnknownNetfilterGroup, 400) define_error(:NetfilterGroupNotPermitted, 400)