Skip to content

Commit 559e18d

Browse files
committed
lowercase errors
1 parent bf4d26a commit 559e18d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/analyze/host_services.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ func (a *AnalyzeHostServices) Analyze(getCollectedFileContents func(string) ([]b
114114
func compareHostServicesConditionalToActual(conditional string, services []collect.ServiceInfo) (res bool, err error) {
115115
parts := strings.Split(conditional, " ")
116116
if len(parts) != 3 {
117-
return false, fmt.Errorf("Expected exactly 3 parts, got %d", len(parts))
117+
return false, fmt.Errorf("expected exactly 3 parts, got %d", len(parts))
118118
}
119119

120120
switch parts[1] {
@@ -134,7 +134,7 @@ func compareHostServicesConditionalToActual(conditional string, services []colle
134134
return false, nil
135135
}
136136

137-
return false, fmt.Errorf("Unexpected operator %q", parts[1])
137+
return false, fmt.Errorf("unexpected operator %q", parts[1])
138138
}
139139

140140
func isServiceMatch(serviceName string, matchName string) bool {

0 commit comments

Comments
 (0)