mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-12 10:55:20 +02:00
[tmsUpload, tmsExport] Minor: remove confusing comments (#4640)
* Remove confusing comments in tmsClient.go
This commit is contained in:
parent
f0bd3950c8
commit
e11896c5b2
@ -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
|
||||
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user