Skip to content

Commit

Permalink
WIP: structured, contextual logging for capacity
Browse files Browse the repository at this point in the history
  • Loading branch information
pohly committed Dec 23, 2022
1 parent 150b670 commit a2eef0f
Show file tree
Hide file tree
Showing 5 changed files with 128 additions and 89 deletions.
2 changes: 2 additions & 0 deletions cmd/csi-provisioner/csi-provisioner.go
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,9 @@ func main() {
klog.Fatalf("unexpected error when checking for the V1 CSIStorageCapacity API: %v", err)
}

logger := klog.Background().WithName("CapacityController")
capacityController = capacity.NewCentralCapacityController(
logger,
csi.NewControllerClient(grpcClient),
provisionerName,
clientFactory,
Expand Down
Loading

0 comments on commit a2eef0f

Please sign in to comment.