mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-11 13:40:07 +00:00
trim spaces
This commit is contained in:
@@ -427,9 +427,9 @@ func TestAvailableMetrics(t *testing.T) {
|
|||||||
|
|
||||||
tmpl := template.New("")
|
tmpl := template.New("")
|
||||||
tmpl = tmpl.Funcs(template.FuncMap{"join": strings.Join})
|
tmpl = tmpl.Funcs(template.FuncMap{"join": strings.Join})
|
||||||
tmpl, err := tmpl.Parse(`| | {{range .Metrics}}{{.}} | {{end}}
|
tmpl, err := tmpl.Parse(`| |{{range .Metrics}} {{.}} |{{end}}
|
||||||
| - | {{range .Metrics}}- | {{end}}{{range $s := .Samples}}
|
| - |{{range .Metrics}} - |{{end}}{{range $s := .Samples}}
|
||||||
| {{$s}} | {{range $m := $.Metrics}}{{join (index $.Data $s $m) ", "}} | {{end}}{{end}}`)
|
| {{$s}} |{{range $m := $.Metrics}} {{join (index $.Data $s $m) ", "}} |{{end}}{{end}}`)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
@@ -1,19 +1,19 @@
|
|||||||
| | Bytes Sent | Docs Returned | Docs Scanned | Query Time |
|
| | Bytes Sent | Docs Returned | Docs Scanned | Query Time |
|
||||||
| - | - | - | - | - |
|
| - | - | - | - | - |
|
||||||
| aggregate | yes | 3.4.7, 3.5.11 | 3.4.7, 3.5.11 | yes |
|
| aggregate | yes | 3.4.7, 3.5.11 | 3.4.7, 3.5.11 | yes |
|
||||||
| count | yes | no | 3.4.7, 3.5.11 | yes |
|
| count | yes | no | 3.4.7, 3.5.11 | yes |
|
||||||
| count_with_query | yes | no | 3.4.7, 3.5.11 | yes |
|
| count_with_query | yes | no | 3.4.7, 3.5.11 | yes |
|
||||||
| delete | no | no | 3.4.7, 3.5.11 | yes |
|
| delete | no | no | 3.4.7, 3.5.11 | yes |
|
||||||
| delete_all | no | no | 3.4.7, 3.5.11 | yes |
|
| delete_all | no | no | 3.4.7, 3.5.11 | yes |
|
||||||
| distinct | yes | no | 3.4.7, 3.5.11 | yes |
|
| distinct | yes | no | 3.4.7, 3.5.11 | yes |
|
||||||
| eval | yes | no | no | yes |
|
| eval | yes | no | no | yes |
|
||||||
| explain | yes | 2.6.12 | 2.6.12 | yes |
|
| explain | yes | 2.6.12 | 2.6.12 | yes |
|
||||||
| find | yes | yes | yes | yes |
|
| find | yes | yes | yes | yes |
|
||||||
| find_andrii | yes | yes | yes | yes |
|
| find_andrii | yes | yes | yes | yes |
|
||||||
| find_empty | yes | yes | yes | yes |
|
| find_empty | yes | yes | yes | yes |
|
||||||
| findandmodify | yes | no | yes | yes |
|
| findandmodify | yes | no | yes | yes |
|
||||||
| geonear | yes | no | 3.4.7, 3.5.11 | yes |
|
| geonear | yes | no | 3.4.7, 3.5.11 | yes |
|
||||||
| group | yes | no | 3.4.7, 3.5.11 | yes |
|
| group | yes | no | 3.4.7, 3.5.11 | yes |
|
||||||
| insert | 3.2.16, 3.4.7, 3.5.11 | no | no | yes |
|
| insert | 3.2.16, 3.4.7, 3.5.11 | no | no | yes |
|
||||||
| mapreduce | yes | no | 3.4.7, 3.5.11 | yes |
|
| mapreduce | yes | no | 3.4.7, 3.5.11 | yes |
|
||||||
| update | no | no | yes | yes |
|
| update | no | no | yes | yes |
|
Reference in New Issue
Block a user