mirror of
https://github.com/prometheus-operator/prometheus-operator.git
synced 2025-04-20 19:29:10 +00:00
use t.Log instead of fmt.PrintLn
This commit is contained in:
parent
62cf1bc2a4
commit
909636703d
1 changed files with 2 additions and 2 deletions
|
@ -67,12 +67,12 @@ func TestStatefulSetLabelingAndAnnotations(t *testing.T) {
|
|||
require.NoError(t, err)
|
||||
|
||||
if !reflect.DeepEqual(labels, sset.Labels) {
|
||||
fmt.Println(pretty.Compare(labels, sset.Labels))
|
||||
t.Log(pretty.Compare(labels, sset.Labels))
|
||||
t.Fatal("Labels are not properly being propagated to the StatefulSet")
|
||||
}
|
||||
|
||||
if !reflect.DeepEqual(expectedAnnotations, sset.Annotations) {
|
||||
fmt.Println(pretty.Compare(expectedAnnotations, sset.Annotations))
|
||||
t.Log(pretty.Compare(expectedAnnotations, sset.Annotations))
|
||||
t.Fatal("Annotations are not properly being propagated to the StatefulSet")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue