Skip to content

Commit

Permalink
format again
Browse files Browse the repository at this point in the history
  • Loading branch information
SK1Y101 committed Jul 11, 2024
1 parent 14b202f commit 2800bd6
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions anvil-python/anvil/commands/refresh.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@
import click
from rich.console import Console
from sunbeam.clusterd.client import Client
from sunbeam.commands.upgrades.base import UpgradeCoordinator, UpgradePlugins #UpgradeFeatures
from sunbeam.commands.upgrades.base import (
UpgradeCoordinator,
UpgradePlugins,
)

# UpgradeFeatures
from sunbeam.commands.upgrades.intra_channel import (
LatestInChannel,
)
Expand All @@ -24,10 +29,10 @@
from anvil.jobs.manifest import Manifest
from anvil.provider.local.deployment import LocalDeployment


LOG = logging.getLogger(__name__)
console = Console()


class LatestInChannelCoordinator(UpgradeCoordinator):
"""Coordinator for refreshing charms in their current channel."""

Expand Down Expand Up @@ -88,9 +93,7 @@ def get_plan(self) -> list[BaseStep]:
# plan.extend(
# UpgradeFeatures(self.deployment, upgrade_release=False),
# )
plan.extend(
UpgradePlugins(self.deployment, upgrade_release=False)
)
plan.extend(UpgradePlugins(self.deployment, upgrade_release=False))

return plan

Expand Down

0 comments on commit 2800bd6

Please sign in to comment.