Commit 648d9841 authored by Gyanendra Mishra's avatar Gyanendra Mishra

cleanup entrypoint args

parent 2d31d089
......@@ -59,6 +59,7 @@ NIMBUS_LOG_LEVELS = {
ENR_FACT_NAME = "enr-fact"
HEALTH_FACT_NAME = "health-fact"
ENTRYPOINT_ARGS = ["sh", "-c"]
def launch(
launcher,
......@@ -205,7 +206,7 @@ def get_config(
image = image,
ports = USED_PORTS,
cmd = [cmd_str],
entrypoint = ["sh", "-c"],
entrypoint = ENTRYPOINT_ARGS,
files = {
genesis_data.files_artifact_uuid: GENESIS_DATA_MOUNTPOINT_ON_CLIENT,
node_keystore_files.files_artifact_uuid: VALIDATOR_KEYS_MOUNTPOINT_ON_CLIENT
......
......@@ -54,6 +54,8 @@ USED_PORTS = {
METRICS_PORT_ID: new_port_spec(METRICS_PORT_NUM, TCP_PROTOCOL),
}
ENTRYPOINT_ARGS = ["sh", "-c"]
TEKU_LOG_LEVELS = {
module_io.GlobalClientLogLevel.error: "ERROR",
......@@ -206,7 +208,7 @@ def get_config(
image = image,
ports = USED_PORTS,
cmd = [cmd_str],
entrypoint = ["sh", "-c"],
entrypoint = ENTRYPOINT_ARGS,
files = {
genesis_data.files_artifact_uuid: GENESIS_DATA_MOUNT_DIRPATH_ON_SERVICE_CONTAINER,
node_keystore_files.files_artifact_uuid: VALIDATOR_KEYS_DIRPATH_ON_SERVICE_CONTAINER
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment