diff --git a/python/paddle_serving_server/monitor.py b/python/paddle_serving_server/monitor.py index bb856ca73f0e9a88a534a552fce4d861df23f283..2df9b9f4c69e57180d47939d601fd47f16a0a5ca 100644 --- a/python/paddle_serving_server/monitor.py +++ b/python/paddle_serving_server/monitor.py @@ -160,14 +160,6 @@ class HDFSMonitor(Monitor): if os.system(cmd) != 0: raise Exception('pull remote dir failed.') - def _update_local_model(self, local_tmp_path, remote_model_name, local_path, - local_model_name): - tmp_model_path = os.path.join(local_tmp_path, remote_model_name) - local_model_path = os.path.join(local_path, local_model_name) - cmd = 'cp -r {}/* {}'.format(tmp_model_path, local_model_path) - if os.system(cmd) != 0: - raise Exception('pull remote dir failed.') - class FTPMonitor(Monitor): ''' FTP Monitor. '''