Fixes #7220 to allow config to be loaded from <(envsubst < template) (#7221)

* Fixes #7220 to allow config to be loaded from <(envsubst < template)
This commit is contained in:
Lucid One
2019-07-11 14:40:24 -07:00
committed by Brad Warren
parent ca893bd836
commit 82ad736120
+2 -2
View File
@@ -303,8 +303,8 @@ def validate_file(filename):
if not os.path.exists(filename):
raise errors.PluginError('File not found: {0}'.format(filename))
if not os.path.isfile(filename):
raise errors.PluginError('Path is not a file: {0}'.format(filename))
if os.path.isdir(filename):
raise errors.PluginError('Path is a directory: {0}'.format(filename))
def validate_file_permissions(filename):