Skip to content

Commit

Permalink
Merge pull request #2004 from marquiz/devel/grpclog
Browse files Browse the repository at this point in the history
Drop setup of grpc logging
  • Loading branch information
k8s-ci-robot authored Jan 8, 2025
2 parents b81c078 + 98cd963 commit 1b1a47d
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 94 deletions.
3 changes: 0 additions & 3 deletions cmd/nfd-master/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,6 @@ func main() {
klog.InfoS("version not set! Set -ldflags \"-X sigs.k8s.io/node-feature-discovery/pkg/version.version=`git describe --tags --dirty --always --match 'v*'`\" during build or run.")
}

// Plug klog into grpc logging infrastructure
utils.ConfigureGrpcKlog()

// Get new NfdMaster instance
instance, err := master.NewNfdMaster(master.WithArgs(args))
if err != nil {
Expand Down
4 changes: 0 additions & 4 deletions cmd/nfd-topology-updater/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import (

topology "sigs.k8s.io/node-feature-discovery/pkg/nfd-topology-updater"
"sigs.k8s.io/node-feature-discovery/pkg/resourcemonitor"
"sigs.k8s.io/node-feature-discovery/pkg/utils"
"sigs.k8s.io/node-feature-discovery/pkg/utils/hostpath"
"sigs.k8s.io/node-feature-discovery/pkg/version"
)
Expand All @@ -52,9 +51,6 @@ func main() {
klog.InfoS("version not set! Set -ldflags \"-X sigs.k8s.io/node-feature-discovery/pkg/version.version=`git describe --tags --dirty --always --match 'v*'`\" during build or run.")
}

// Plug klog into grpc logging infrastructure
utils.ConfigureGrpcKlog()

// Get new TopologyUpdater instance
instance, err := topology.NewTopologyUpdater(*args, *resourcemonitorArgs)
if err != nil {
Expand Down
3 changes: 0 additions & 3 deletions cmd/nfd-worker/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@ func main() {
klog.InfoS("version not set! Set -ldflags \"-X sigs.k8s.io/node-feature-discovery/pkg/version.version=`git describe --tags --dirty --always --match 'v*'`\" during build or run.")
}

// Plug klog into grpc logging infrastructure
utils.ConfigureGrpcKlog()

// Get new NfdWorker instance
instance, err := worker.NewNfdWorker(worker.WithArgs(args))
if err != nil {
Expand Down
84 changes: 0 additions & 84 deletions pkg/utils/grpc_log.go

This file was deleted.

0 comments on commit 1b1a47d

Please sign in to comment.