Skip to content

Commit

Permalink
Fix metrics address formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
efiacor committed Aug 2, 2024
1 parent d98bcef commit a432e7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion operators/nephio-controller-manager/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ require (
golang.org/x/exp v0.0.0-20230515195305-f3d0a9c9a5cc
k8s.io/apimachinery v0.29.2
k8s.io/client-go v0.29.2
k8s.io/klog/v2 v2.120.1
sigs.k8s.io/controller-runtime v0.17.2

)
Expand Down Expand Up @@ -105,6 +104,7 @@ require (
k8s.io/api v0.29.2 // indirect
k8s.io/apiextensions-apiserver v0.29.0 // indirect
k8s.io/component-base v0.29.2 // indirect
k8s.io/klog/v2 v2.120.1 // indirect
k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00 // indirect
k8s.io/utils v0.0.0-20240310230437-4693a0247e57 // indirect
sigs.k8s.io/cluster-api v1.4.0-beta.2.0.20230527123250-e111168cdff3 // indirect
Expand Down
2 changes: 1 addition & 1 deletion operators/nephio-controller-manager/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func main() {
managerOptions := ctrl.Options{
Scheme: scheme,
Metrics: server.Options{
BindAddress: fmt.Sprintf("%s%d", metricsAddr, 9443),
BindAddress: metricsAddr,
},
HealthProbeBindAddress: probeAddr,
LeaderElection: false,
Expand Down

0 comments on commit a432e7d

Please sign in to comment.