Fix typo in secrets linting
Change secrets/ to secrets in _verify_document. Change-Id: Id7fc849dc3ef86afb362e0c3a05ff8b4a56a963d
This commit is contained in:
parent
39119d5895
commit
5f866606a4
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user