mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 03:12:30 +00:00 
			
		
		
		
	modified depending on comments
This commit is contained in:
		| @@ -75,6 +75,7 @@ class OpenBMCBmcConfigTask(ParallelNodesCommand): | ||||
|  | ||||
|             if not dump_dict: | ||||
|                 self.callback.info('%s: No attributes returned from the BMC.' % node) | ||||
|                 return dump_info | ||||
|  | ||||
|             keys = dump_dict.keys() | ||||
|             keys.sort() | ||||
|   | ||||
| @@ -327,7 +327,7 @@ class OpenBMCRest(object): | ||||
|             raise | ||||
|  | ||||
|         if not response: | ||||
|             self._print_record_log('No response received', cmd=cmd) | ||||
|             self._print_record_log('No response received for command %s' % request_cmd, cmd=cmd) | ||||
|             return True | ||||
|  | ||||
|         self._print_record_log(str(response.status_code), cmd=cmd) | ||||
| @@ -603,7 +603,7 @@ class OpenBMCRest(object): | ||||
|  | ||||
|             return dump_dict | ||||
|         except KeyError: | ||||
|             error = 'Error: Received wrong format response: %s' % inventory_data | ||||
|             error = 'Error: Received wrong format response: %s' % dump_data | ||||
|             raise SelfServerException(error)  | ||||
|  | ||||
|     def download_dump(self, download_id, file_path): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user