Skip to content

Commit 54056e5

Browse files
chore(source): sources to standartise
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
1 parent 089ceb2 commit 54056e5

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

endpoint/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222
)
2323

2424
const (
25-
msg = "No endpoints could be generated from %s %s/%s"
25+
msg = "No endpoints could be generated from '%s/%s/%s'"
2626
)
2727

2828
// HasEmptyEndpoints checks if the endpoint list is empty and logs

source/annotations/processors_test.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -369,11 +369,9 @@ func TestInternalHostnamesFromAnnotations(t *testing.T) {
369369
}
370370
}
371371

372-
func init() {
372+
func TestShouldProcessResource(t *testing.T) {
373373
SetAnnotationPrefix(DefaultAnnotationPrefix)
374-
}
375374

376-
func TestShouldProcessResource(t *testing.T) {
377375
tests := []struct {
378376
name string
379377
annotations map[string]string

0 commit comments

Comments
 (0)