Commit e52cacb5 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Code cleanup

parent 2ea1cf77
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -29,8 +29,8 @@ MSG_REST_FAILED = '[rest_request] Query({:s}) failed, retry={:d}/{:d}...'
MSG_ERROR_MAX_RETRIES = 'Maximum number of retries achieved: {:d}'

METRICSDB_HOSTNAME  = os.environ.get('METRICSDB_HOSTNAME')
METRICSDB_ILP_PORT  = int(os.environ.get('METRICSDB_ILP_PORT', 0))
METRICSDB_REST_PORT = int(os.environ.get('METRICSDB_REST_PORT', 0))
METRICSDB_ILP_PORT  = int(os.environ.get('METRICSDB_ILP_PORT',  0) or 0)
METRICSDB_REST_PORT = int(os.environ.get('METRICSDB_REST_PORT', 0) or 0)
METRICSDB_TABLE_SLICE_GROUPS = os.environ.get('METRICSDB_TABLE_SLICE_GROUPS')

COLORS = {
+0 −2
Original line number Diff line number Diff line
@@ -31,7 +31,5 @@ COPY . .
RUN pip-compile --quiet --output-file=requirements.txt requirements.in
RUN python3 -m pip install -r requirements.txt

RUN python3 -m pip list

# Start the service
ENTRYPOINT ["python", "MockNCECtrl.py"]