Skip to content

Commit f703718

Browse files
committed
Changed output
1 parent d036546 commit f703718

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

main.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ func _main() error {
133133
return fmt.Errorf("unknown unmarshaled datasource type %T", p.Datasource)
134134
}
135135
if angularDetected[dsPlugin] {
136-
detectionMessages = append(detectionMessages, fmt.Sprintf("Found angular datasource %q", dsPlugin))
136+
detectionMessages = append(detectionMessages, fmt.Sprintf("Found angular data source %q", dsPlugin))
137137
}
138138
}
139139

@@ -145,14 +145,13 @@ func _main() error {
145145
}
146146

147147
// Print output
148-
checkMessage := fmt.Sprintf("Checking dashboard %q %q", d.Title, dashboardAbsURL)
149148
if len(detectionMessages) > 0 {
150-
log.Logf(checkMessage)
149+
log.Logf("Found dashboard with Angular plugins %q %q:", d.Title, dashboardAbsURL)
151150
for _, msg := range detectionMessages {
152151
log.Logf(msg)
153152
}
154153
} else {
155-
log.Verbosef(checkMessage)
154+
log.Verbosef("Checking dashboard %q %q", d.Title, dashboardAbsURL)
156155
}
157156
}
158157
return nil

0 commit comments

Comments
 (0)