Skip to content

Commit

Permalink
Apply suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
gjulianm committed Jan 24, 2025
1 parent 76a3ac3 commit 8d4c14e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/controller/datadogagent/feature/gpu/feature.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ func (f *gpuFeature) ManageNodeAgent(managers feature.PodTemplateManagers, _ str
managers.Volume().AddVolume(&devicesVol)
managers.VolumeMount().AddVolumeMountToContainers(&devicesMount, []apicommon.AgentContainerName{apicommon.CoreAgentContainerName, apicommon.SystemProbeContainerName})

// Configure the runtime class for the container
// Configure the runtime class for the pod
if f.podRuntimeClassName != "" {
managers.PodTemplateSpec().Spec.RuntimeClassName = &f.podRuntimeClassName
}
Expand Down

0 comments on commit 8d4c14e

Please sign in to comment.