Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

Commit

Permalink
better output
Browse files Browse the repository at this point in the history
  • Loading branch information
Dieterbe committed Mar 7, 2017
1 parent d56830b commit 0da8774
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/models/request.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ func (r Req) String() string {
}

func (r Req) DebugString() string {
return fmt.Sprintf("%s %d - %d . points <= %d. %s - archive %d, rawInt %d, archInt %d, outInt %d, aggNum %d",
r.Key, r.From, r.To, r.MaxPoints, r.Consolidator, r.Archive, r.RawInterval, r.ArchInterval, r.OutInterval, r.AggNum)
return fmt.Sprintf("Req key=%s %d - %d maxPoints=%d rawInt=%d cons=%s schemaI=%d aggI=%d archive=%d archInt=%d ttl=%d outInt=%d aggNum=%d",
r.Key, r.From, r.To, r.MaxPoints, r.RawInterval, r.Consolidator, r.SchemaI, r.AggI, r.Archive, r.ArchInterval, r.TTL, r.OutInterval, r.AggNum)
}

0 comments on commit 0da8774

Please sign in to comment.