Skip to content

Commit

Permalink
Merge pull request containers#683 from nalind/bic-location
Browse files Browse the repository at this point in the history
libimage.RuntimeFromStore(): stop overriding the BlobInfoCache location
  • Loading branch information
openshift-merge-robot authored Jul 20, 2021
2 parents e05ac5e + f9bccd7 commit 71bd547
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions libimage/runtime.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package libimage
import (
"context"
"os"
"path/filepath"
"strings"

"github.com/containers/image/v5/docker/reference"
Expand Down Expand Up @@ -94,10 +93,6 @@ func RuntimeFromStore(store storage.Store, options *RuntimeOptions) (*Runtime, e

setRegistriesConfPath(&systemContext)

if systemContext.BlobInfoCacheDir == "" {
systemContext.BlobInfoCacheDir = filepath.Join(store.GraphRoot(), "cache")
}

return &Runtime{
store: store,
systemContext: systemContext,
Expand Down

0 comments on commit 71bd547

Please sign in to comment.