openshift / openshift-restclient-java

Other
78 stars 112 forks source link

Peers reported in RSync error are not useful #437

Closed adietish closed 4 years ago

adietish commented 4 years ago

When there's an error rsyncing local code <-> pod via the OpenShiftBinaryRSync local and remote peers are reported. Unfortunaltey those are reported as java object identifiers which isn't helpful:

(see com.openshift.restclient.capability.resources.IRSyncable$PodPeer@39c74f5f and com.openshift.restclient.capability.resources.IRSyncable$LocalPeer@7e5469d8)

Syncing com.openshift.restclient.capability.resources.IRSyncable$PodPeer@39c74f5f to com.openshift.restclient.capability.resources.IRSyncable$LocalPeer@7e5469d8 failed: rsync: change_dir "/deployments/BOOT-INF" failed: No such file or directory (2)
command terminated with exit code 23