diff options
author | John Estabrook <jestabro@vyos.io> | 2022-12-14 09:07:40 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-14 09:07:40 -0600 |
commit | 92aa324fef80bdb0bcb3e93feba2f4e2aa787d38 (patch) | |
tree | 7dc4a5d1ff463c9502fb5c4dfd0f298f3f29d35c /interface-definitions/include/certificate-key.xml.i | |
parent | 6095dfec48cefbdafe77d49325a122acfad1c372 (diff) | |
parent | 046bb9ccd56ac5e97c638bb4a9ca856d3d36026a (diff) | |
download | vyos-1x-92aa324fef80bdb0bcb3e93feba2f4e2aa787d38.tar.gz vyos-1x-92aa324fef80bdb0bcb3e93feba2f4e2aa787d38.zip |
Merge pull request #1706 from jestabro/validator-file-exists
validators: T4798: replace python file-exists validator with file-path
Diffstat (limited to 'interface-definitions/include/certificate-key.xml.i')
-rw-r--r-- | interface-definitions/include/certificate-key.xml.i | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-definitions/include/certificate-key.xml.i b/interface-definitions/include/certificate-key.xml.i index 1db9dd069..2c4d81fbb 100644 --- a/interface-definitions/include/certificate-key.xml.i +++ b/interface-definitions/include/certificate-key.xml.i @@ -7,7 +7,7 @@ <description>File in /config/auth directory</description> </valueHelp> <constraint> - <validator name="file-exists" argument="--directory /config/auth"/> + <validator name="file-path" argument="--strict --parent-dir /config/auth"/> </constraint> </properties> </leafNode> |