hide domain if only single host in config. (#80)
hide domain if only single host in config. (#80)

* hide domain if only single host in config.

Signed-off-by: Bo-Yi Wu <f80eec1bf98b3feebacc247f35f2b506218004cb@gmail.com>

* fix host

Signed-off-by: Bo-Yi Wu <f80eec1bf98b3feebacc247f35f2b506218004cb@gmail.com>

* refactor

Signed-off-by: Bo-Yi Wu <f80eec1bf98b3feebacc247f35f2b506218004cb@gmail.com>

drone-plugins/drone-ssh,appleboy/drone-ssh,appleboy/drone-ssh