mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 00:34:24 -04:00
fix external service type check (#1246)
This commit is contained in:
committed by
Miek Gieben
parent
c53968e5c4
commit
614ed4c80d
@@ -101,6 +101,7 @@ func (APIConnServiceTest) SvcIndex(string) []*api.Service {
|
||||
Protocol: "tcp",
|
||||
Port: 80,
|
||||
}},
|
||||
Type: api.ServiceTypeExternalName,
|
||||
},
|
||||
},
|
||||
}
|
||||
@@ -144,6 +145,7 @@ func (APIConnServiceTest) ServiceList() []*api.Service {
|
||||
Protocol: "tcp",
|
||||
Port: 80,
|
||||
}},
|
||||
Type: api.ServiceTypeExternalName,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user