Style fix, remove debug prints

This commit is contained in:
Fabian Reinartz 2015-11-11 17:53:18 +01:00
parent c157b78a04
commit d945c872d8
2 changed files with 4 additions and 3 deletions

View File

@ -284,7 +284,6 @@ func (ag *aggrGroup) run(nf notifyFunc) {
if timeout < notify.MinTimeout { if timeout < notify.MinTimeout {
timeout = notify.MinTimeout timeout = notify.MinTimeout
} }
fmt.Println("starting at", time.Now())
for { for {
select { select {
@ -309,7 +308,6 @@ func (ag *aggrGroup) run(nf notifyFunc) {
// Wait the configured interval before calling flush again. // Wait the configured interval before calling flush again.
ag.next.Reset(ag.opts.GroupInterval) ag.next.Reset(ag.opts.GroupInterval)
fmt.Println("flushing at", now)
ag.flush(func(alerts ...*types.Alert) bool { ag.flush(func(alerts ...*types.Alert) bool {
return nf(ctx, alerts...) return nf(ctx, alerts...)
}) })

View File

@ -154,8 +154,11 @@ header #logo {
color: #555 !important; color: #555 !important;
} }
.annotations { .annotations td {
min-width: 200px;
white-space: pre-wrap !important; white-space: pre-wrap !important;
word-break: break-all;
word-wrap: break-word;
} }
.table-normal.annotations td { .table-normal.annotations td {
padding: .4em !important; padding: .4em !important;