Buckets:
| --- /root/HuaweiCASTcode/PyCAST_Agent/Campaigns/Campaign_CINDER_FULL_5/Test_473//orig_file 2018-09-28 16:15:22.954780792 -0400 | |
| +++ /root/HuaweiCASTcode/PyCAST_Agent/Campaigns/Campaign_CINDER_FULL_5/Test_473//mutated_file 2018-09-28 16:15:22.954780792 -0400 | |
| @@ -2403,7 +2403,7 @@ | |
| def attachment_update(self, context, vref, connector, attachment_id): | |
| "Update/Finalize an attachment.\n\n This call updates a valid attachment record to associate with a volume\n and provide the caller with the proper connection info. Note that\n this call requires an `attachment_ref`. It's expected that prior to\n this call that the volume and an attachment UUID has been reserved.\n\n param: vref: Volume object to create attachment for\n param: connector: Connector object to use for attachment creation\n param: attachment_ref: ID of the attachment record to update\n " | |
| mode = connector.get('mode', 'rw') | |
| - self._notify_about_volume_usage(context, vref, 'attach.start') | |
| + raise Exception | |
| attachment_ref = objects.VolumeAttachment.get_by_id(context, attachment_id) | |
| connection_info = self._connection_create(context, vref, attachment_ref, connector) | |
| volume_metadata = self.db.volume_admin_metadata_update(context.elevated(), attachment_ref.volume_id, {'attached_mode': mode}, False) | |
Xet Storage Details
- Size:
- 1.39 kB
- Xet hash:
- 7bfc422eb0f4c318d5b43989cf7688dcba2f2bbde1f83b6b560d125d8d2e8f79
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.