commit | 6bfc183290e0ca1449a653ac718f31f668eb4d24 | [log] [tgz] |
---|---|---|
author | emosbaugh <emosbaugh@gmail.com> | Tue Nov 22 16:26:52 2016 -0800 |
committer | GitHub <noreply@github.com> | Tue Nov 22 16:26:52 2016 -0800 |
tree | 628c7fb56f39c83e2861a7d353ad1bce01b4aa40 | |
parent | e18f0065e8c148fcf567ac43a3f8f5b66ac0720b [diff] |
Fix jsonReferenceLoader for custom filesystems
diff --git a/jsonLoader.go b/jsonLoader.go index 0e865eb..1edc702 100644 --- a/jsonLoader.go +++ b/jsonLoader.go
@@ -101,7 +101,9 @@ } func (l *jsonReferenceLoader) LoaderFactory() JSONLoaderFactory { - return &DefaultJSONLoaderFactory{} + return &FileSystemJSONLoaderFactory{ + fs: l.fs, + } } // NewReferenceLoader returns a JSON reference loader using the given source and the local OS file system.