Skip to content

Commit

Permalink
fix info status to string
Browse files Browse the repository at this point in the history
  • Loading branch information
fujiwara committed Dec 16, 2015
1 parent 158879e commit 20aa902
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dashboard.go
Expand Up @@ -46,7 +46,7 @@ const (
)

func (s Status) MarshalText() ([]byte, error) {
if s <= Danger {
if s <= Info {
return []byte(strings.ToLower(s.String())), nil
} else {
return []byte(strconv.FormatInt(int64(s), 10)), nil
Expand Down

0 comments on commit 20aa902

Please sign in to comment.