We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
options
opts
1 parent b61b932 commit cb6b78fCopy full SHA for cb6b78f
Sources/Containerization/DNSConfiguration.swift
@@ -60,7 +60,7 @@ extension DNS {
60
}
61
62
if !options.isEmpty {
63
- text += "opts \(options.joined(separator: " "))\n"
+ text += "options \(options.joined(separator: " "))\n"
64
65
66
return text
Tests/ContainerizationTests/DNSTests.swift
@@ -29,7 +29,7 @@ struct DNSTests {
29
options: ["ndots:2", "timeout:1"]
30
)
31
32
- let expected = "nameserver 8.8.8.8\nnameserver 1.1.1.1\ndomain example.com\nsearch internal.com test.com\nopts ndots:2 timeout:1\n"
+ let expected = "nameserver 8.8.8.8\nnameserver 1.1.1.1\ndomain example.com\nsearch internal.com test.com\noptions ndots:2 timeout:1\n"
33
#expect(dns.resolvConf == expected)
34
35
0 commit comments