Skip to content

Commit

Permalink
statekey to lower
Browse files Browse the repository at this point in the history
  • Loading branch information
yairsimantov20 committed Dec 26, 2023
1 parent 161e6ec commit 50f60c2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"fmt"
"github.com/joho/godotenv"
"github.com/port-labs/port-k8s-exporter/pkg/port"
"strings"
)

var KafkaConfig = &KafkaConfiguration{}
Expand Down Expand Up @@ -62,5 +63,7 @@ func NewConfiguration() (*port.Config, error) {
return nil, fmt.Errorf("failed loading configuration: %w", err)
}

c.StateKey = strings.ToLower(c.StateKey)

return c, nil
}

0 comments on commit 50f60c2

Please sign in to comment.