Fix typo in secrets linting

Change secrets/ to secrets in _verify_document.

Change-Id: Id7fc849dc3ef86afb362e0c3a05ff8b4a56a963d
This commit is contained in:
Lev Morgan 2019-03-20 13:00:46 -05:00 committed by Aaron Sheffield
parent 39119d5895
commit 5f866606a4
1 changed files with 3 additions and 3 deletions

View File

@ -270,10 +270,10 @@ def _verify_document(document, schemas, filename):
storage_policy)))
# Check if the file is in a secrets directory
if not util.files.file_in_subdir(filename, 'secrets/'):
if not util.files.file_in_subdir(filename, 'secrets'):
errors.append((SECRET_NOT_ENCRYPTED_POLICY,
'%s (document %s) is a secret, is not stored in a '
'secrets path' % (filename, name)))
'%s (document %s) is a secret, is not stored in a'
' secrets path' % (filename, name)))
return errors