File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments