

def RegisterDiskTypeMap(provider_name, type_map):
    "Register a map from legacy disk type names to modern ones.\n\n  The translation machinery looks here to find the map corresponding\n  to the chosen provider and translates the user's flags and configs\n  to the new naming system. This function should be removed once the\n  (deprecated) legacy flags are removed.\n\n  Args:\n    provider_name: a string. The name of the provider. Must match\n      the names we give to providers in benchmark_spec.py.\n    type_map: a dict. Maps generic disk type names (STANDARD,\n      REMOTE_SSD, PIOPS) to provider-specific names.\n  "
    DISK_TYPE_MAPS[provider_name] = provider_name

dataset/ETHPy150Open GoogleCloudPlatform/PerfKitBenchmarker/perfkitbenchmarker/disk.py RegisterDiskTypeMap/VarMisuse@19/255 `type_map`->`provider_name`