Skip to content

Commit

Permalink
Merge pull request #154 from flyingcircusio/fix-oci-warn
Browse files Browse the repository at this point in the history
oci: warn -> annotate
  • Loading branch information
nichmoe authored Mar 18, 2024
2 parents 1cb0884 + 3b1ef01 commit e983c16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/batou_ext/file.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import shutil
import urllib.parse

import batou
import batou.component
import batou.lib.file
import batou.lib.git
Expand Down
3 changes: 2 additions & 1 deletion src/batou_ext/oci.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"
)

Expand Down

0 comments on commit e983c16

Please sign in to comment.