Code Review
/
nonrtric.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Use non-root user for Dockerfile of helm-manager"
[nonrtric.git]
/
test
/
usecases
/
odusliceassurance
/
goversion
/
internal
/
restclient
/
client.go
diff --git
a/test/usecases/odusliceassurance/goversion/internal/restclient/client.go
b/test/usecases/odusliceassurance/goversion/internal/restclient/client.go
index
61cf614
..
3983840
100644
(file)
--- a/
test/usecases/odusliceassurance/goversion/internal/restclient/client.go
+++ b/
test/usecases/odusliceassurance/goversion/internal/restclient/client.go
@@
-40,11
+40,6
@@
func New(httpClient *http.Client) *Client {
}
}
}
}
-type HTTPClient interface {
- Get(path string, v interface{}) error
- Post(path string, payload interface{}, v interface{}) error
-}
-
func (c *Client) Get(path string, v interface{}) error {
req, err := c.newRequest(http.MethodGet, path, nil)
if err != nil {
func (c *Client) Get(path string, v interface{}) error {
req, err := c.newRequest(http.MethodGet, path, nil)
if err != nil {