Skip to content

Commit

Permalink
Update zone_file_cache_test.go to pass unit test
Browse files Browse the repository at this point in the history
Signed-off-by: Rabin Yasharzadehe <[email protected]>
  • Loading branch information
rabin-io committed Sep 14, 2023
1 parent 901f007 commit 5e2942a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ var _ = Describe("cached zone file content maintenance", func() {
Describe("cached zone file initialization", func() {
const (
headerDefault = "$ORIGIN vm. \n$TTL 3600 \n@ IN SOA ns.vm. email.vm. (0 3600 3600 1209600 3600)\n"
headerCustomFmt = "$ORIGIN vm.%s. \n$TTL 3600 \n@ IN SOA ns.vm.%s. email.vm.%s. (0 3600 3600 1209600 3600)\nIN NS ns.vm.%s.\nns IN A %s\n"
headerCustomFmt = "$ORIGIN vm.%s. \n$TTL 3600 \n@ IN SOA ns.vm.%s. email.vm.%s. (0 3600 3600 1209600 3600)\n@ IN NS ns.vm.%s.\nns IN A %s\n"
headerSoaSerial = "$ORIGIN vm. \n$TTL 3600 \n@ IN SOA ns.vm. email.vm. (12345 3600 3600 1209600 3600)\n"
)

Expand Down

0 comments on commit 5e2942a

Please sign in to comment.