Skip to content

Commit 63b541f

Browse files
committed
CD kubelet plugin: fix error propagation in prepare path
Signed-off-by: Dr. Jan-Philip Gehrcke <[email protected]>
1 parent 337b593 commit 63b541f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/compute-domain-kubelet-plugin/device_state.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ func (s *DeviceState) getConfigResultsMap(rcs *resourceapi.ResourceClaimStatus,
509509
rcs.Allocation.Devices.Config,
510510
)
511511
if err != nil {
512-
return nil, fmt.Errorf("error getting opaque device configs: %v", err)
512+
return nil, fmt.Errorf("error getting opaque device configs: %w", err)
513513
}
514514

515515
// Add the default ComputeDomainConfig to the front of the config list with the

0 commit comments

Comments
 (0)