@classmethod
    def upgrade_from_v1(cls, config):
        v1_config = loads(config)
        v2_config = {
            _CLASS_MARKER: u"Configuration",
            u"version": 2,
            u"deployment": v1_config
        }
        return dumps(v2_config)
Close PAM session for user
dataset/ETHPy150Open ClusterHQ/flocker/flocker/control/_persistence.py/ConfigurationMigration.upgrade_from_v1--crossover with--dataset/ETHPy150Open jupyterhub/jupyterhub/jupyterhub/auth.py/PAMAuthenticator.post_spawn_stop