Update health check script for harbor-db (#12103)
Update health check script for harbor-db (#12103)

This patch remove the trailing space of the hostname introduced by
`hostname -i`.

The trailing space will cause resolution error after this patch is
applied to glibc in photon:
https://github.com/vmware/photon/blob/2.0/SPECS/glibc/glibc-fix-CVE-2019-10739.patch

Signed-off-by: Daniel Jiang <b8e1ca884a84f218767196db52915b5edb9f310e@vmware.com>
wy65701436/harbor,reasonerjt/harbor,wy65701436/harbor,wy65701436/harbor,reasonerjt/harbor,reasonerjt/harbor,reasonerjt/harbor,wy65701436/harbor,wy65701436/harbor,wy65701436/harbor,reasonerjt/harbor,reasonerjt/harbor