85cbe0a107cfee9393ed2018be93070122af1f39,perfkitbenchmarker/providers/azure/azure_network.py,AzureNetwork,__init__,#AzureNetwork#Any#,454
Before Change
not FLAGS.azure_availability_set):
self.avail_set = None
else:
avail_set_name = "%s-%s" % (self.resource_group.name, self.zone)
self.avail_set = AzureAvailSet(avail_set_name, self.location)
// Storage account names can"t include separator characters :(.
storage_account_prefix = "pkb%s" % FLAGS.run_uri
After Change
resource_group=self.resource_group.name)
is_dedicated_host = bool(FLAGS.dedicated_hosts)
in_availability_zone = bool(util.GetAvailabilityZoneFromZone(self.zone))
no_placement_group = (
FLAGS.placement_group_style == placement_group.PLACEMENT_GROUP_NONE)
cluster_placement_group = (
FLAGS.placement_group_style == placement_group.PLACEMENT_GROUP_CLUSTER)
spread_placement_group = (
FLAGS.placement_group_style == placement_group.PLACEMENT_GROUP_SPREAD)
// With dedicated hosting and/or an availability zone, an availability set
// cannot be created
if is_dedicated_host or no_placement_group or (in_availability_zone and
spread_placement_group):
self.placement_group = None
elif cluster_placement_group:
self.placement_group = azure_placement_group.AzureProximityGroup(
placement_group_spec)
else:
self.placement_group = azure_placement_group.AzureAvailSet(
placement_group_spec)
// Storage account names can"t include separator characters :(.
storage_account_prefix = "pkb%s" % FLAGS.run_uri
// Storage account names must be 3-24 characters long and use
// numbers and lower-case letters only, which leads us to this
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 85cbe0a107cfee9393ed2018be93070122af1f39
Time: 2020-01-08
Author: ssabhaya@google.com
File Name: perfkitbenchmarker/providers/azure/azure_network.py
Class Name: AzureNetwork
Method Name: __init__
Project Name: hyperspy/hyperspy
Commit Name: b9e02147f21d75d04ee909c52dc161e4d8fce388
Time: 2017-02-04
Author: t.ostasevicius@gmail.com
File Name: hyperspy/_signals/lazy.py
Class Name: LazySignal
Method Name: _block_iterator
Project Name: pyinstaller/pyinstaller
Commit Name: 7b4edb7daa687534aa9a35eac467fe2933dbc364
Time: 2018-03-12
Author: nicholsonc@google.com
File Name: PyInstaller/hooks/hook-usb.py
Class Name:
Method Name: