diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 3b9b13e..f8331b5 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -25,7 +25,7 @@ jobs: run: go build -v ./... - name: Set up testing stacks - run: docker-compose up -d + run: docker compose up -d - name: Test run: go test -v ./... diff --git a/store/local.go b/store/local.go index 4fdb407..0b13d78 100644 --- a/store/local.go +++ b/store/local.go @@ -100,7 +100,11 @@ func (l *LocalStore) IsPartialWriteVisible(path string) bool { } func (l *LocalStore) Exists(path string) (bool, error) { - return l.s.Exists(path) + _, err := l.ResolvePathOnPhysicalStore(path) + if err != nil { + return false, err + } + return true, nil } func (l *LocalStore) Create(path string) error {