Skip to content

Commit c040429

Browse files
committed
Fix typos in comments and log message
Signed-off-by: Dr. Jan-Philip Gehrcke <[email protected]>
1 parent deccb4d commit c040429

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ func (s *DeviceState) applyComputeDomainDaemonConfig(ctx context.Context, config
493493
}
494494

495495
// Always inject CD config details into the CD daemon (regardless of clique
496-
// ID being emtpy or not).
496+
// ID being empty or not).
497497
edits, err := s.computeDomainManager.GetComputeDomainDaemonContainerEdits(ctx, config.DomainID)
498498
if err != nil {
499499
return nil, fmt.Errorf("error preparing ComputeDomain daemon settings: %w", err)
@@ -502,10 +502,10 @@ func (s *DeviceState) applyComputeDomainDaemonConfig(ctx context.Context, config
502502

503503
// Only prepare files to inject to the daemon if IMEX is supported.
504504
if s.computeDomainManager.cliqueID != "" {
505-
// Parse the device node info for the fabic-imex-mgmt nvcap.
505+
// Parse the device node info for the fabric-imex-mgmt nvcap.
506506
nvcapDeviceInfo, err := s.nvdevlib.parseNVCapDeviceInfo(nvidiaCapFabricImexMgmtPath)
507507
if err != nil {
508-
return nil, fmt.Errorf("error parsing nvcap device info for fabic-imex-mgmt: %w", err)
508+
return nil, fmt.Errorf("error parsing nvcap device info for fabric-imex-mgmt: %w", err)
509509
}
510510

511511
// Create new ComputeDomain daemon settings from the ComputeDomainManager.

0 commit comments

Comments
 (0)