Rename GC worker package to gc

This commit is contained in:
Joseph Schorr 2017-06-29 09:37:32 +03:00
parent 420a5e5a3a
commit 76c9339453
6 changed files with 4 additions and 4 deletions

View file

@ -3,6 +3,6 @@
echo 'Starting GC worker' echo 'Starting GC worker'
cd / cd /
venv/bin/python -m workers.gcworker.gcworker 2>&1 venv/bin/python -m workers.gc.gcworker 2>&1
echo 'Repository GC exited' echo 'Repository GC exited'

View file

@ -1,6 +1,6 @@
from app import app from app import app
from data.database import UseThenDisconnect from data.database import UseThenDisconnect
from workers.gcworker.models_pre_oci import pre_oci_model as model from workers.gc.models_pre_oci import pre_oci_model as model
from workers.worker import Worker from workers.worker import Worker
class GarbageCollectionWorker(Worker): class GarbageCollectionWorker(Worker):

View file

@ -3,7 +3,7 @@ import logging
from data.model.repository import (find_repository_with_garbage, garbage_collect_repo, from data.model.repository import (find_repository_with_garbage, garbage_collect_repo,
get_random_gc_policy) get_random_gc_policy)
from workers.gcworker.models_interface import GCWorkerDataInterface from workers.gc.models_interface import GCWorkerDataInterface
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)

View file

@ -1,4 +1,4 @@
from workers.gcworker.gcworker import GarbageCollectionWorker from workers.gc.gcworker import GarbageCollectionWorker
from test.fixtures import * from test.fixtures import *