b5de6f3bbd2754836e6092571ab905ad6af404a6,perfkitbenchmarker/static_virtual_machine.py,,GetStaticVmClass,#Any#,285
Before Change
os_types.UBUNTU_CONTAINER: ContainerizedStaticVirtualMachine,
}
if os_type in class_dict:
return class_dict[os_type]
else:
logging.warning("Could not find os type for VM. Defaulting to debian.")
return DebianBasedStaticVirtualMachine
After Change
if not os_type:
logging.warning("Could not find os type for VM. Defaulting to debian.")
os_type = os_types.DEBIAN
return resource.GetResourceClass(virtual_machine.BaseVirtualMachine,
CLOUD=StaticVirtualMachine.CLOUD,
OS_TYPE=os_type)
class ContainerizedStaticVirtualMachine(
StaticVirtualMachine, linux_virtual_machine.ContainerizedDebianMixin):
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: b5de6f3bbd2754836e6092571ab905ad6af404a6
Time: 2018-05-02
Author: dlott@google.com
File Name: perfkitbenchmarker/static_virtual_machine.py
Class Name:
Method Name: GetStaticVmClass
Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 8271e209b8a42a4861466d151591105970c9cd69
Time: 2018-03-01
Author: ehankland@google.com
File Name: perfkitbenchmarker/providers/kubernetes/kubernetes_disk.py
Class Name:
Method Name: GetKubernetesDiskClass
Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 8271e209b8a42a4861466d151591105970c9cd69
Time: 2018-03-01
Author: ehankland@google.com
File Name: perfkitbenchmarker/container_service.py
Class Name:
Method Name: GetContainerClusterClass
Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 72511b05e5837c5e57651ba1686ee0a1976b31ff
Time: 2018-05-02
Author: dlott@google.com
File Name: perfkitbenchmarker/static_virtual_machine.py
Class Name:
Method Name: GetStaticVmClass