We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed9f8cd commit f44de31Copy full SHA for f44de31
client/allocrunner/taskrunner/task_runner.go
@@ -1041,7 +1041,7 @@ func (tr *TaskRunner) buildTaskConfig() *drivers.TaskConfig {
1041
if alloc.AllocatedResources != nil && len(alloc.AllocatedResources.Shared.Networks) > 0 {
1042
allocDNS := alloc.AllocatedResources.Shared.Networks[0].DNS
1043
if allocDNS != nil {
1044
- interpolatedNetworks := taskenv.InterpolateNetworks(env, alloc.AllocatedResources.Shared.Networks)
+ interpolatedNetworks := taskenv.InterpolateNetworks(env, alloc.AllocatedResources.Shared.Networks)
1045
dns = &drivers.DNSConfig{
1046
Servers: interpolatedNetworks[0].DNS.Servers,
1047
Searches: interpolatedNetworks[0].DNS.Searches,
0 commit comments