Merge pull request #613 from freeformz/benchmark_error_formatting

Print Error()

[skip ci]
pull/614/head
John Shahid 2014-06-02 16:15:46 -04:00
commit 709a7a5ba4
1 changed files with 4 additions and 0 deletions

View File

@ -171,6 +171,10 @@ type failureResult struct {
microseconds int64
}
func (fr failureResult) String() string {
return fmt.Sprintf("%s - %d", fr.err.Error(), fr.microseconds)
}
type LoadWrite struct {
LoadDefinition *loadDefinition
Series []*influxdb.Series