Skip to content
Snippets Groups Projects
Commit 4a62b452 authored by Ophestra's avatar Ophestra
Browse files

improve logging

parent 651dd96c
Branches
Tags v1.3.4
No related merge requests found
......@@ -5,6 +5,7 @@ import (
"fmt"
log "github.com/sirupsen/logrus"
"os"
"strings"
"time"
)
......@@ -149,7 +150,7 @@ func (s *Store) TagType(tag, t string) {
}
if !TagTypeAllowed(t) {
log.Warnf("Invalid tag change on tag %s, got %s, expecting %s", tag, t, AllowedTagTypes)
log.Warnf("Invalid tag change on tag %s, got %s, expecting one of %s.", tag, t, strings.Join(AllowedTagTypes, ", "))
return
}
info := s.TagInfo(tag)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment