mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-22 03:44:55 +00:00
Fixes for PT-61 & PT-62
This commit is contained in:
@@ -2,10 +2,10 @@ package templates
|
||||
|
||||
const Replicas = `
|
||||
# Instances ##############################################################################################
|
||||
ID Host Type ReplSet Engine
|
||||
PID Host Type ReplSet Engine
|
||||
{{- if . -}}
|
||||
{{- range . }}
|
||||
{{printf "% 3d" .Id}} {{printf "%-30s" .Name}} {{printf "%-30s" .StateStr}} {{printf "%10s" .Set }} {{printf "%20s" .StorageEngine.Name -}}
|
||||
{{printf "% 3d" .ID}} {{printf "%-30s" .Name}} {{printf "%-30s" .StateStr}} {{ if .Set }}{{printf "%-10s" .Set }}{{else}}- {{end}} {{printf "%20s" .StorageEngine.Name -}}
|
||||
{{end}}
|
||||
{{else}}
|
||||
no replica sets found
|
||||
|
Reference in New Issue
Block a user