|
@@ -72,6 +72,9 @@ func (d *Dashboard) UnmarshalJSON(b []byte) (err error) {
|
72
|
72
|
// response body.
|
73
|
73
|
func (c *Client) GetDashboardsURIs() (URIs []string, err error) {
|
74
|
74
|
resp, err := c.request("GET", "search", nil)
|
|
75
|
+ if err != nil {
|
|
76
|
+ return
|
|
77
|
+ }
|
75
|
78
|
|
76
|
79
|
var respBody []dbSearchResponse
|
77
|
80
|
if err = json.Unmarshal(resp, &respBody); err != nil {
|