def read_style_dict(cfg):
    style = {}
    # update all settings with any global settings.
    if 'global' in cfg:
        cfg_global = cfg.pop('global')
        for rc_dict in style.values():
            rc_dict.update(cfg_global)
    return update_nested_dict(style, cfg)
If an ``Application`` is configured with a volume but exists without it
dataset/ETHPy150Open tonysyu/mpltools/mpltools/style/core.py/read_style_dict--crossover with--dataset/ETHPy150Open ClusterHQ/flocker/flocker/node/test/test_container.py/ApplicationNodeDeployerCalculateVolumeChangesTests.test_has_volume_cant_change_yet