fix: remove bad switch default
Fix a hastily made change that was so small I assumed it would never break.
@@ -133,8 +133,6 @@ func (t *TaskSpec) ToDockerSpec() container.Spec {
switch deviceType {
case device.CPU, device.ZeroSlot:
containerRuntime = runc
- default:
- panic(fmt.Sprintf("bad device type: %s", deviceType))
}
network := t.TaskContainerDefaults.NetworkMode
