mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-12-02 03:37:46 +08:00
[FIX] remove unused import
This commit is contained in:
parent
55b1788129
commit
4595ca6196
@ -30,9 +30,9 @@ import (
|
||||
"fmt"
|
||||
//"time"
|
||||
//"github.com/bitly/go-simplejson"
|
||||
"github.com/bitly/go-simplejson"
|
||||
//"github.com/bitly/go-simplejson"
|
||||
"time"
|
||||
"encoding/json"
|
||||
//"encoding/json"
|
||||
)
|
||||
|
||||
func NewCmdInit() cli.Command {
|
||||
@ -111,6 +111,8 @@ func initCluster(c *cli.Context) error {
|
||||
arr:=strings.SplitN(out,"{",2)
|
||||
outJ:="{"+arr[1]
|
||||
jsonStr:=strings.TrimSpace(outJ)
|
||||
jsonStr=strings.Replace(jsonStr,"\n","",-1)
|
||||
jsonStr=strings.Replace(jsonStr," ","",-1)
|
||||
logrus.Infof(jsonStr)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user