Lint: W391 blank line at end of file
This commit is contained in:
parent
5da314902f
commit
cb2defbde9
|
@ -6344,4 +6344,3 @@ class API_Provisioner_Status_Element(Resource):
|
||||||
}
|
}
|
||||||
return response
|
return response
|
||||||
api.add_resource(API_Provisioner_Status_Element, '/provisioner/status/<task_id>')
|
api.add_resource(API_Provisioner_Status_Element, '/provisioner/status/<task_id>')
|
||||||
|
|
||||||
|
|
|
@ -1564,4 +1564,3 @@ def ceph_volume_snapshot_remove(pool, volume, name):
|
||||||
'message': retdata.replace('\"', '\'')
|
'message': retdata.replace('\"', '\'')
|
||||||
}
|
}
|
||||||
return output, retcode
|
return output, retcode
|
||||||
|
|
||||||
|
|
|
@ -1629,4 +1629,3 @@ def create_vm(self, vm_name, vm_profile, define_vm=True, start_vm=True, script_r
|
||||||
|
|
||||||
pvc_common.stopZKConnection(zk_conn)
|
pvc_common.stopZKConnection(zk_conn)
|
||||||
return {'status': 'VM "{}" with profile "{}" has been provisioned and started successfully'.format(vm_name, vm_profile), 'current': 10, 'total': 10}
|
return {'status': 'VM "{}" with profile "{}" has been provisioned and started successfully'.format(vm_name, vm_profile), 'current': 10, 'total': 10}
|
||||||
|
|
||||||
|
|
|
@ -182,4 +182,3 @@ def call_api(config, operation, request_uri, headers={}, params=None, data=None,
|
||||||
|
|
||||||
# Return the response object
|
# Return the response object
|
||||||
return response
|
return response
|
||||||
|
|
||||||
|
|
|
@ -3835,4 +3835,3 @@ def main():
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
main()
|
main()
|
||||||
|
|
||||||
|
|
|
@ -938,4 +938,3 @@ def format_list_acl(acl_list):
|
||||||
)
|
)
|
||||||
|
|
||||||
click.echo('\n'.join(sorted(acl_list_output)))
|
click.echo('\n'.join(sorted(acl_list_output)))
|
||||||
|
|
||||||
|
|
|
@ -974,4 +974,3 @@ def format_list(zk_conn, vm_list, raw):
|
||||||
click.echo('\n'.join(sorted(vm_list_output)))
|
click.echo('\n'.join(sorted(vm_list_output)))
|
||||||
|
|
||||||
return True, ''
|
return True, ''
|
||||||
|
|
||||||
|
|
|
@ -188,4 +188,3 @@ class MetadataAPIInstance(object):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
return vm_details
|
return vm_details
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue