Skip to content

Commit

Permalink
remove check conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
zhan9san committed Mar 8, 2024
1 parent b461468 commit 9ba562d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions artifactory_cleanup/rules/docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,11 +160,6 @@ def get_masks(self):
# alpine:2.4 => alpine/2.4
return [mask.replace(":", "/") for mask in self.masks]

def check(self):
for mask in self.masks:
if ":" not in mask:
raise AttributeError(f"Mask '{mask}' must contain ':' in docker rules")

def aql_add_filter(self, filters):
rule_list = []
for mask in self.get_masks():
Expand Down

0 comments on commit 9ba562d

Please sign in to comment.