Skip to content

Commit

Permalink
Making prefetcher call create_stores.
Browse files Browse the repository at this point in the history
Fixes bug 888383

Change-Id: Ia3adc6a30f16f889cd344f8cb3fca4a071871fe4
  • Loading branch information
rconradharris committed Nov 11, 2011
1 parent 0a39470 commit f394327
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions glance/image_cache/prefetcher.py
Expand Up @@ -28,6 +28,12 @@
from glance.common import exception
from glance.image_cache import ImageCache
from glance import registry
import glance.store
import glance.store.filesystem
import glance.store.http
import glance.store.rbd
import glance.store.s3
import glance.store.swift
from glance.store import get_from_backend


Expand All @@ -38,6 +44,7 @@ class Prefetcher(object):

def __init__(self, options):
self.options = options
glance.store.create_stores(options)
self.cache = ImageCache(options)
registry.configure_registry_client(options)

Expand Down

0 comments on commit f394327

Please sign in to comment.