summaryrefslogtreecommitdiff
path: root/interface-definitions/include/certificate-key.xml.i
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2022-12-13 12:09:03 -0600
committerJohn Estabrook <jestabro@vyos.io>2022-12-13 13:49:04 -0600
commit046bb9ccd56ac5e97c638bb4a9ca856d3d36026a (patch)
tree6a5a0761c6354e63cb778251b4a934ad09e93cd9 /interface-definitions/include/certificate-key.xml.i
parent0c5416e9e629a6f9028c85fe5313f43d3484860a (diff)
downloadvyos-1x-046bb9ccd56ac5e97c638bb4a9ca856d3d36026a.tar.gz
vyos-1x-046bb9ccd56ac5e97c638bb4a9ca856d3d36026a.zip
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.i2
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>