Skip to content

Commit

Permalink
t
Browse files Browse the repository at this point in the history
  • Loading branch information
pna-nca committed Oct 17, 2024
1 parent 5821fd2 commit a3e5485
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dojo/tools/neuvector/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ def endpoints_from_asset(kind, asset):
artifact_and_tag = image.split("/")[-1]
# extracting only image name, without tag or digest
artifact_name = artifact_and_tag.split("@")[0]
artifact_name = artifact_name(":")[0]
artifact_name = artifact_name.split(":")[0]

endpoints.append(Endpoint(
host=f"{artifact_name}",
Expand Down

0 comments on commit a3e5485

Please sign in to comment.