Skip to content
This repository was archived by the owner on Feb 8, 2021. It is now read-only.

Commit c6a607b

Browse files
authored
Merge pull request #465 from jgillich/logging
remove superfluous logging
2 parents 1e8e046 + de3525b commit c6a607b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

client/api/info.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ package api
22

33
import (
44
"encoding/json"
5-
"fmt"
65
"net/url"
76

87
"github.com/hyperhq/hyperd/engine"
@@ -36,7 +35,6 @@ func (cli *Client) GetPodInfo(podName string) (*types.PodInfo, error) {
3635
v.Set("podName", podName)
3736
body, _, err := readBody(cli.call("GET", "/pod/info?"+v.Encode(), nil, nil))
3837
if err != nil {
39-
fmt.Printf("Error: %s\n", err)
4038
return nil, err
4139
}
4240
var jsonData types.PodInfo
@@ -53,7 +51,6 @@ func (cli *Client) GetContainerInfo(container string) (*types.ContainerInfo, err
5351
v.Set("container", container)
5452
body, _, err := readBody(cli.call("GET", "/container/info?"+v.Encode(), nil, nil))
5553
if err != nil {
56-
fmt.Printf("Error: %s\n", err)
5754
return nil, err
5855
}
5956
var jsonData types.ContainerInfo

0 commit comments

Comments
 (0)