parent
1de57ab6f3
commit
1231ba19b7
|
@ -3337,7 +3337,7 @@ api.add_resource(API_Storage_Ceph_Volume_Element_Clone, '/storage/ceph/volume/<p
|
||||||
# /storage/ceph/volume/<pool>/<volume>/upload
|
# /storage/ceph/volume/<pool>/<volume>/upload
|
||||||
class API_Storage_Ceph_Volume_Element_Upload(Resource):
|
class API_Storage_Ceph_Volume_Element_Upload(Resource):
|
||||||
@RequestParser([
|
@RequestParser([
|
||||||
{ 'name': 'image_format' }
|
{ 'name': 'image_format', 'required': True, 'helpmsg': "A source image format must be specified" }
|
||||||
])
|
])
|
||||||
@Authenticator
|
@Authenticator
|
||||||
def post(self, pool, volume, reqargs):
|
def post(self, pool, volume, reqargs):
|
||||||
|
|
Loading…
Reference in New Issue