'Return the current state of datasets from the deployer.'

def current_datasets(self):

    return self.successResultOf(self.deployer.discover_state(DeploymentState(nodes={NodeState(uuid=self.deployer.node_uuid, hostname=self.deployer.hostname)}), persistent_state=self.persistent_state.get_state())).datasets
