File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -3,15 +3,12 @@ package mcnutils
33import (
44 "crypto/rand"
55 "encoding/hex"
6- "encoding/json"
76 "fmt"
87 "io"
98 "os"
109 "runtime"
1110 "strconv"
1211 "time"
13-
14- "github.com/docker/machine/libmachine/log"
1512)
1613
1714// GetHomeDir returns the home directory
@@ -97,16 +94,6 @@ func WaitFor(f func() bool) error {
9794 return WaitForSpecific (f , 60 , 3 * time .Second )
9895}
9996
100- func DumpVal (vals ... interface {}) {
101- for _ , val := range vals {
102- prettyJSON , err := json .MarshalIndent (val , "" , " " )
103- if err != nil {
104- log .Warn (err )
105- }
106- log .Debug (string (prettyJSON ))
107- }
108- }
109-
11097// TruncateID returns a shorten id
11198// Following two functions are from github.com/docker/docker/utils module. It
11299// was way overkill to include the whole module, so we just have these bits
You can’t perform that action at this time.
0 commit comments