From b7a13f27a18ef74448c30626c96a2945359b3417 Mon Sep 17 00:00:00 2001 From: Caner Derici Date: Tue, 24 Oct 2023 16:36:18 -0600 Subject: [PATCH] Cleanup for application refresh with resources --- juju/application.py | 3 --- juju/utils.py | 1 - 2 files changed, 4 deletions(-) diff --git a/juju/application.py b/juju/application.py index 634906e2..ce7fbae4 100644 --- a/juju/application.py +++ b/juju/application.py @@ -684,9 +684,6 @@ async def refresh( force_units, path, resources) return - if resources is not None: - raise NotImplementedError("resources option is not implemented") - parsed_url = URL.parse(charm_url) charm_name = parsed_url.name diff --git a/juju/utils.py b/juju/utils.py index bcf5d0eb..484465f4 100644 --- a/juju/utils.py +++ b/juju/utils.py @@ -422,7 +422,6 @@ def base_channel_to_series(channel): return get_version_series(origin.Channel.parse(channel).track) -<<<<<<< HEAD def parse_base_arg(base): """Parses a given base into a Client.Base object :param base str : The base to deploy a charm (e.g. ubuntu@22.04)