We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c0e0df commit 39063d1Copy full SHA for 39063d1
internal/lm/resource.go
@@ -215,7 +215,7 @@ func (rl resourceLabeler) getReplicas() int {
215
// sharingDisabled checks whether the resourceLabeler has sharing disabled
216
// TODO: The nil check here is because we call NewGPUResourceLabeler with a nil config when sharing is disabled.
217
func (rl resourceLabeler) sharingDisabled() bool {
218
- return rl.sharing == nil
+ return rl.sharing == nil || (rl.sharing.SharingStrategy() == spec.SharingStrategyNone)
219
}
220
221
// isShared checks whether the resource is shared.
0 commit comments