Rename GC worker package to gc
This commit is contained in:
parent
420a5e5a3a
commit
76c9339453
6 changed files with 4 additions and 4 deletions
|
@ -3,6 +3,6 @@
|
|||
echo 'Starting GC worker'
|
||||
|
||||
cd /
|
||||
venv/bin/python -m workers.gcworker.gcworker 2>&1
|
||||
venv/bin/python -m workers.gc.gcworker 2>&1
|
||||
|
||||
echo 'Repository GC exited'
|
|
@ -1,6 +1,6 @@
|
|||
from app import app
|
||||
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
|
||||
|
||||
class GarbageCollectionWorker(Worker):
|
|
@ -3,7 +3,7 @@ import logging
|
|||
from data.model.repository import (find_repository_with_garbage, garbage_collect_repo,
|
||||
get_random_gc_policy)
|
||||
|
||||
from workers.gcworker.models_interface import GCWorkerDataInterface
|
||||
from workers.gc.models_interface import GCWorkerDataInterface
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
from workers.gcworker.gcworker import GarbageCollectionWorker
|
||||
from workers.gc.gcworker import GarbageCollectionWorker
|
||||
|
||||
from test.fixtures import *
|
||||
|
Reference in a new issue