Skip to content

Commit

Permalink
[tmsUpload, tmsExport] Minor: remove confusing comments (#4640)
Browse files Browse the repository at this point in the history
* Remove confusing comments in tmsClient.go
  • Loading branch information
artembannikov authored Oct 24, 2023
1 parent f0bd395 commit e11896c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/tms/tmsClient.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,6 @@ func (communicationInstance *CommunicationInstance) UploadFileToNode(fileInfo Fi

json.Unmarshal(data, &nodeUploadResponseEntity)
communicationInstance.logger.Info("Node upload executed successfully")

// Important: there are Customers, who might rely on format of this log message to parse transport request id
communicationInstance.logger.Infof("nodeName: %v, nodeId: %v, uploadedFile: %v, createdTransportRequestDescription: %v, createdTransportRequestId: %v", nodeUploadResponseEntity.QueueEntries[0].NodeName, nodeUploadResponseEntity.QueueEntries[0].NodeId, fileInfo.Name, nodeUploadResponseEntity.TransportRequestDescription, nodeUploadResponseEntity.TransportRequestId)

return nodeUploadResponseEntity, nil
Expand Down Expand Up @@ -238,8 +236,6 @@ func (communicationInstance *CommunicationInstance) ExportFileToNode(fileInfo Fi

json.Unmarshal(data, &nodeUploadResponseEntity)
communicationInstance.logger.Info("Node export executed successfully")

// Important: there are Customers, who might rely on format of this log message to parse transport request id
communicationInstance.logger.Infof("nodeName: %v, nodeId: %v, uploadedFile: %v, createdTransportRequestDescription: %v, createdTransportRequestId: %v", nodeUploadResponseEntity.QueueEntries[0].NodeName, nodeUploadResponseEntity.QueueEntries[0].NodeId, fileInfo.Name, nodeUploadResponseEntity.TransportRequestDescription, nodeUploadResponseEntity.TransportRequestId)
return nodeUploadResponseEntity, nil

Expand Down

0 comments on commit e11896c

Please sign in to comment.