MCPcopy Create free account
hub / github.com/docker/cli / TestConvertDNSConfigSearch

Function TestConvertDNSConfigSearch

cli/compose/convert/service_test.go:342–348  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

340}
341
342func TestConvertDNSConfigSearch(t *testing.T) {
343 dnsConfig := convertDNSConfig(nil, search)
344 assert.Check(t, is.DeepEqual(&swarm.DNSConfig{
345 Nameservers: nil,
346 Search: search,
347 }, dnsConfig, cmpopts.EquateComparable(netip.Addr{})))
348}
349
350func TestConvertCredentialSpec(t *testing.T) {
351 tests := []struct {

Callers

nothing calls this directly

Calls 1

convertDNSConfigFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…