diff options
Diffstat (limited to 'resources')
-rw-r--r-- | resources/resource_spec.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/resource_spec.go b/resources/resource_spec.go index fd9653012..13920be7e 100644 --- a/resources/resource_spec.go +++ b/resources/resource_spec.go @@ -258,7 +258,7 @@ func (r *Spec) newResource(sourceFs afero.Fs, fd ResourceSourceDescriptor) (reso var err error fi, err = sourceFs.Stat(fd.SourceFilename) if err != nil { - if os.IsNotExist(err) { + if herrors.IsNotExist(err) { return nil, nil } return nil, err |