mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-22 03:44:55 +00:00
Removed unused vars
This commit is contained in:
@@ -3,7 +3,6 @@ package templates
|
||||
const HostInfo = `# This host
|
||||
# Mongo Executable #############################################################################
|
||||
Path to executable | {{.ProcPath}}
|
||||
Has symbols | No
|
||||
# Report On {{.ThisHostID}} ########################################
|
||||
User | {{.ProcUserName}}
|
||||
PID Owner | {{.ProcessName}}
|
||||
@@ -12,8 +11,6 @@ const HostInfo = `# This host
|
||||
Version | {{.Version}}
|
||||
Built On | {{.HostOsType}} {{.HostSystemCPUArch}}
|
||||
Started | {{.ProcCreateTime}}
|
||||
Databases | {{.HostDatabases}}
|
||||
Collections | {{.HostCollections}}
|
||||
{{- if .DBPath }}
|
||||
Datadir | {{.DBPath}}
|
||||
{{- end }}
|
||||
|
@@ -2,7 +2,7 @@ package templates
|
||||
|
||||
const Replicas = `
|
||||
# Instances ####################################################################################
|
||||
ID Host Type ReplSet Engine Status
|
||||
ID Host Type ReplSet
|
||||
{{- if . -}}
|
||||
{{- range . }}
|
||||
{{printf "% 3d" .Id}} {{printf "%-30s" .Name}} {{printf "%-30s" .StateStr}} {{printf "%10s" .Set -}}
|
||||
|
Reference in New Issue
Block a user