summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRandomChars <random@chars.jp>2021-10-03 18:03:55 +0900
committerRandomChars <random@chars.jp>2021-10-03 18:03:55 +0900
commit4a62b452bd6d81a49ac5ed1833f886fe56113cce (patch)
tree28121a345139d9ccbe6d256346056eac079b17d0
parent651dd96c97aa804a58992856ed3edfdf1b12ba67 (diff)
improve loggingv1.3.4
-rw-r--r--store/tag.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/store/tag.go b/store/tag.go
index 368bdd3..24d1f09 100644
--- a/store/tag.go
+++ b/store/tag.go
@@ -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)