1
0
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:
Artem Bannikov 2023-10-24 11:43:37 +02:00 committed by GitHub
parent f0bd3950c8
commit e11896c5b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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