summaryrefslogtreecommitdiff
path: root/interface-definitions/include/certificate-ca.xml.i
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2022-12-14 09:07:40 -0600
committerGitHub <noreply@github.com>2022-12-14 09:07:40 -0600
commit92aa324fef80bdb0bcb3e93feba2f4e2aa787d38 (patch)
tree7dc4a5d1ff463c9502fb5c4dfd0f298f3f29d35c /interface-definitions/include/certificate-ca.xml.i
parent6095dfec48cefbdafe77d49325a122acfad1c372 (diff)
parent046bb9ccd56ac5e97c638bb4a9ca856d3d36026a (diff)
downloadvyos-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-ca.xml.i')
-rw-r--r--interface-definitions/include/certificate-ca.xml.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-definitions/include/certificate-ca.xml.i b/interface-definitions/include/certificate-ca.xml.i
index b97378658..3cde2a48d 100644
--- a/interface-definitions/include/certificate-ca.xml.i
+++ b/interface-definitions/include/certificate-ca.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>