Skip to content

Commit 4deb4c8

Browse files
werbersoneabili0
authored andcommitted
remove RegEx references
1 parent 919c9b3 commit 4deb4c8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ A store of records being managed is needed. Hence, a `/data` volume must be mapp
1919

2020
1. `mandatory` **BINDMAN_NAMESERVER_ADDRESS**: address of the nameserver that an instance of a Bindman will manage
2121

22-
2. `mandatory` **BINDMAN_NAMESERVER_KEY_FILE**: the zone keyfile name that will be used to authenticate with the nameserver. **MUST** match the regexp `K.*\.\+157\+.*\.key` and **MUST** be inside the `/data` volume
22+
2. `mandatory` **BINDMAN_NAMESERVER_KEY_FILE**: the zone keyfile name that will be used to authenticate with the nameserver. **MUST** be inside the `/data` volume
2323

2424
3. `mandatory` **BINDMAN_NAMESERVER_ZONE**: the name of the zone a bindman-dns-bind9 instance is able to manage;
2525

nsupdate/flags.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const (
1919
func AddFlags(flags *pflag.FlagSet) {
2020
flags.String(nameServerAddress, "", "Address of the nameserver that an instance of a Bindman will manage")
2121
flags.String(nameServerPort, defaultNameServerPort, "Custom port for communication with the nameserver")
22-
flags.String(nameServerKeyFile, "", `Zone key-file name that will be used to authenticate with the nameserver. MUST match the regexp "K.*\.\+157\+.*\.key" and MUST be inside the /data volume`)
22+
flags.String(nameServerKeyFile, "", `Zone key-file name that will be used to authenticate with the nameserver. MUST be inside the /data volume`)
2323
flags.String(nameServerZone, "", "The name of the zone a bindman-dns-bind9 instance is able to manage")
2424
flags.BoolP(debug, "d", false, "The name of the zone a bindman-dns-bind9 instance is able to manage")
2525
}

nsupdate/nsupdate_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ func TestBuilder_New(t *testing.T) {
124124
wantErr: true,
125125
},
126126
{
127-
name: "any keyFile file",
127+
name: "any keyFile file name",
128128
fields: fields{
129129
Server: "server",
130130
KeyFile: "file.key",

0 commit comments

Comments
 (0)