Skip to content

Commit

Permalink
Fix string conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
ReToCode committed Sep 19, 2023
1 parent 42b8190 commit c8b7f1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/upgrade/probe_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func TestProbe(t *testing.T) {
if err != nil {
t.Fatal("Failed to fetch configmap:", err)
}
if strings.EqualFold(cm.Data[config.KnativeInternalTLSKey], config.EncryptionEnabled) {
if strings.EqualFold(cm.Data[config.KnativeInternalTLSKey], string(config.EncryptionEnabled)) {
portName = networking.ServicePortNameHTTPS
}

Expand Down

0 comments on commit c8b7f1c

Please sign in to comment.