2998b90908d488aa4e5f4dc6ae9f749427de3c6b,perfkitbenchmarker/rackspace/rackspace_disk.py,RackspaceRemoteDisk,GetDevicePath,#RackspaceRemoteDisk#,189

Before Change


          if "volume_id" in attachment and attachment["volume_id"] == self.id:
            return attachment["device"]

    return ""

After Change


      attachment_list = json.loads(volume["attachments"])

    if not attachment_list:
      raise errors.Error("Cannot determine volume %s attachments" % self.name)

    for attachment in attachment_list:
      if "volume_id" in attachment and attachment["volume_id"] == self.id:
        return attachment["device"]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 2998b90908d488aa4e5f4dc6ae9f749427de3c6b
Time: 2015-07-01
Author: carlos.torres@rackspace.com
File Name: perfkitbenchmarker/rackspace/rackspace_disk.py
Class Name: RackspaceRemoteDisk
Method Name: GetDevicePath


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 0da58f6ba61f1e22a91ebd30a064375bdf924f79
Time: 2020-06-01
Author: spencerkim@google.com
File Name: perfkitbenchmarker/linux_packages/build_tools.py
Class Name:
Method Name: Reinstall


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: eb5be3e83d2efe3ce1037a4e48c596d4e98ec4c0
Time: 2021-01-18
Author: skktexas@gmail.com
File Name: perfkitbenchmarker/providers/ibmcloud/ibmcloud_network.py
Class Name: IbmCloudNetwork
Method Name: CreateFip


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: ba0e0aa67bd6c8e4a4a92be2e2f6dad10113627e
Time: 2017-01-09
Author: cltorrespr@gmail.com
File Name: perfkitbenchmarker/providers/openstack/os_network.py
Class Name: OpenStackFloatingIPPool
Method Name: _get_or_create