Skip to content

Commit bc5b834

Browse files
Fix tag command (#179)
1 parent cca8aae commit bc5b834

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/app/tag.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ func (c *PolicyApp) Tag(existingRef, newRef string) error {
1616
return err
1717
}
1818
existingRefParsed := existingRef
19-
if strings.Contains(existingRef, ":") {
19+
if strings.Contains(existingRef, ":") || strings.Contains(existingRef, "/") {
2020
existingRefParsed, err = parser.CalculatePolicyRef(existingRef, c.Configuration.DefaultDomain)
2121
if err != nil {
2222
return err

0 commit comments

Comments
 (0)