From 3b1ef0118f0b1965712277e187345e14951e1ec9 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Mon, 18 Mar 2024 15:44:16 +0100 Subject: [PATCH] oci: warn -> annotate A method `warn` doesn't seem to exist. --- src/batou_ext/file.py | 1 + src/batou_ext/oci.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/batou_ext/file.py b/src/batou_ext/file.py index ef34a6c..fa0e69f 100644 --- a/src/batou_ext/file.py +++ b/src/batou_ext/file.py @@ -4,6 +4,7 @@ import shutil import urllib.parse +import batou import batou.component import batou.lib.file import batou.lib.git diff --git a/src/batou_ext/oci.py b/src/batou_ext/oci.py index 11a3b31..e4819fc 100644 --- a/src/batou_ext/oci.py +++ b/src/batou_ext/oci.py @@ -4,6 +4,7 @@ import shlex from typing import Optional +import batou import pkg_resources from batou import UpdateNeeded from batou.component import Attribute, Component @@ -84,7 +85,7 @@ def configure(self): if ( self.registry_user or self.registry_password ) and not self.registry_address: - batou.output.warn( + batou.output.annotate( "WARN: you might want to specify the registry explicitly unless you really intend to log into the default docker registry" )