Commit ed9f8cd Thomas Wunderlich
committed
1 parent 65c1811 commit ed9f8cd Copy full SHA for ed9f8cd
File tree 1 file changed +0
-3
lines changed
client/allocrunner/taskrunner
1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -1041,10 +1041,7 @@ func (tr *TaskRunner) buildTaskConfig() *drivers.TaskConfig {
1041
1041
if alloc .AllocatedResources != nil && len (alloc .AllocatedResources .Shared .Networks ) > 0 {
1042
1042
allocDNS := alloc .AllocatedResources .Shared .Networks [0 ].DNS
1043
1043
if allocDNS != nil {
1044
- // could potentially interpolate here
1045
1044
interpolatedNetworks := taskenv .InterpolateNetworks (env , alloc .AllocatedResources .Shared .Networks )
1046
- tr .logger .Info ("allocDNS is set" , "dnsserver" , allocDNS .Servers )
1047
- tr .logger .Info ("interpolatedDNS is set" , "dnsserver" , interpolatedNetworks [0 ].DNS .Servers )
1048
1045
dns = & drivers.DNSConfig {
1049
1046
Servers : interpolatedNetworks [0 ].DNS .Servers ,
1050
1047
Searches : interpolatedNetworks [0 ].DNS .Searches ,
You can’t perform that action at this time.
0 commit comments