Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Sources/Containerization/DNSConfiguration.swift
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ extension DNS {
}

if !options.isEmpty {
text += "opts \(options.joined(separator: " "))\n"
text += "options \(options.joined(separator: " "))\n"
}

return text
Expand Down
2 changes: 1 addition & 1 deletion Tests/ContainerizationTests/DNSTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ struct DNSTests {
options: ["ndots:2", "timeout:1"]
)

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"
#expect(dns.resolvConf == expected)
}

Expand Down