From 911ce40f73434c34ec9e61e2cdbfc21321040421 Mon Sep 17 00:00:00 2001 From: YesterdayxD <1144650984@qq.com> Date: Mon, 6 Jul 2020 16:35:11 +0800 Subject: [PATCH] fix : spelling mistake and markdown format Signed-off-by: YesterdayxD <1144650984@qq.com> --- cmd/dfdaemon/app/init.go | 2 +- docs/user_guide/install_client.md | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cmd/dfdaemon/app/init.go b/cmd/dfdaemon/app/init.go index 18465d9f7..23bb8d0b8 100644 --- a/cmd/dfdaemon/app/init.go +++ b/cmd/dfdaemon/app/init.go @@ -57,7 +57,7 @@ func adjustSupernodeList(nodes []string) []string { } } -// getLocalIP return the localIP which connects to supper node +// getLocalIP return the localIP which connects to super node func getLocalIP(nodes []string) (localIP string) { var ( e error diff --git a/docs/user_guide/install_client.md b/docs/user_guide/install_client.md index 94e0c00be..387434c71 100644 --- a/docs/user_guide/install_client.md +++ b/docs/user_guide/install_client.md @@ -119,11 +119,11 @@ Or you can build your own dfclient executable files. **NOTE:** You can ignore this step when using only dfget for file distribution . - ```sh - # Replace ${supernode} with your own supernode node with format `ip:port=weight`. - SUPERNODE=$supernode - dfdaemon --node $SUPERNODE - ``` +```sh +# Replace ${supernode} with your own supernode node with format `ip:port=weight`. +SUPERNODE=$supernode +dfdaemon --node $SUPERNODE +``` ## After this Task