call correct conversion function
All checks were successful
EIVE/-/pipeline/pr-main This commit looks good

This commit is contained in:
Robin Müller 2023-08-30 11:37:17 +02:00
parent f9f8f9481f
commit c2bed714dc
Signed by: muellerr
GPG Key ID: FCE0B2BD2195142F

View File

@ -10,7 +10,6 @@ from eive_tmtc.pus_tc.procedure_packer import handle_default_procedure
from tmtccmd import TcHandlerBase, ProcedureWrapper
from tmtccmd.cfdp.defs import CfdpRequestType
from tmtccmd.cfdp.handler import CfdpInCcsdsHandler
from tmtccmd.config import cfdp_put_req_params_to_procedure
from tmtccmd.logging import get_current_time_string
from tmtccmd.logging.pus import RawTmtcTimedLogWrapper
from tmtccmd.tc import (
@ -23,6 +22,7 @@ from tmtccmd.tc import (
)
from tmtccmd.config.cfdp import (
cfdp_req_to_put_req_proxy_get_req,
cfdp_req_to_put_req_regular,
)
from spacepackets.ecss import PusVerificator
from tmtccmd.util import FileSeqCountProvider
@ -119,7 +119,9 @@ class TcHandler(TcHandlerBase):
CFDP_REMOTE_ENTITY_ID,
)
else:
put_req = cfdp_put_req_params_to_procedure(put_req_cfg_wrapper.cfg)
put_req = cfdp_req_to_put_req_regular(
put_req_cfg_wrapper.cfg, CFDP_REMOTE_ENTITY_ID
)
_LOGGER.info(
f"CFDP: Starting file put request with parameters:\n{put_req}"
)