mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-28 01:31:17 +00:00
lint: make lint happy
This commit is contained in:
@@ -255,6 +255,7 @@ func (c StaticCollector) HasHistoricReports() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
// AdminSummary implements Reporter
|
||||
func (c StaticCollector) AdminSummary(ctx context.Context, timestamp time.Time) (string, error) {
|
||||
return "not implemented", nil
|
||||
}
|
||||
|
||||
@@ -559,10 +559,11 @@ func (r Report) upgradeDNSRecords() Report {
|
||||
return r
|
||||
}
|
||||
|
||||
// Summary returns a human-readable string summarising the contents, for diagnostic purposes
|
||||
func (r Report) Summary() string {
|
||||
ret := ""
|
||||
if len(r.Host.Nodes) == 1 {
|
||||
for k, _ := range r.Host.Nodes {
|
||||
for k := range r.Host.Nodes {
|
||||
ret = k + ":"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user