devopshq / devopshq/artifactory-cleanup

manifest_to_docker_images fails as path is not splittable

Open
#139 2 comments 0 reactions 0 assignees View on GitHub
bug help wanted
Dominant language
Python
Stars
160
Forks
87
PR merge metrics
No merged PRs in 30d

Description

`python-BaseException
Traceback (most recent call last):
File "/artifactory-cleanup/artifactory_cleanup/artifactorycleanup.py", line 61, in cleanup
artifacts_to_remove = policy.filter(artifacts)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/artifactory-cleanup/artifactory_cleanup/rules/base.py", line 286, in filter
artifacts = rule.filter(artifacts)
^^^^^^^^^^^^^^^^^^^^^^
File "/artifactory-cleanup/artifactory_cleanup/rules/docker.py", line 84, in filter
artifacts = self._manifest_to_docker_images(artifacts)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/artifactory-cleanup/artifactory_cleanup/rules/docker.py", line 49, in _manifest_to_docker_images
artifact["path"], docker_tag = artifact["path"].rsplit("/", 1)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: not enough values to unpack (expected 2, got 1)
`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.