refactor(bottle): move runner/state package (7/25)
This commit is contained in:
@@ -16,7 +16,7 @@ from __future__ import annotations
|
|||||||
from abc import ABC, abstractmethod
|
from abc import ABC, abstractmethod
|
||||||
|
|
||||||
from . import ActiveAgent
|
from . import ActiveAgent
|
||||||
from ..bottle_state import mark_preserved, write_committed_image
|
from ..bottle.state import mark_preserved, write_committed_image
|
||||||
from ..log import die, info
|
from ..log import die, info
|
||||||
|
|
||||||
|
|
||||||
@@ -66,7 +66,7 @@ class Freezer(ABC):
|
|||||||
|
|
||||||
def commit_slug(self, slug: str) -> None:
|
def commit_slug(self, slug: str) -> None:
|
||||||
"""Convenience entry for cmd_commit when only a slug is available."""
|
"""Convenience entry for cmd_commit when only a slug is available."""
|
||||||
from ..bottle_state import read_metadata
|
from ..bottle.state import read_metadata
|
||||||
metadata = read_metadata(slug)
|
metadata = read_metadata(slug)
|
||||||
agent = ActiveAgent(
|
agent = ActiveAgent(
|
||||||
backend_name=self.backend_name,
|
backend_name=self.backend_name,
|
||||||
|
|||||||
Reference in New Issue
Block a user