style(util->httpbackoff): Changes package as per @philips suggestion
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package datasource
|
||||
|
||||
import "github.com/coreos/coreos-cloudinit/util"
|
||||
import "github.com/coreos/coreos-cloudinit/httpbackoff"
|
||||
|
||||
type metadataService struct {
|
||||
url string
|
||||
@@ -11,7 +11,7 @@ func NewMetadataService(url string) *metadataService {
|
||||
}
|
||||
|
||||
func (ms *metadataService) Fetch() ([]byte, error) {
|
||||
client := util.NewHttpClient()
|
||||
client := httpbackoff.NewHttpClient()
|
||||
return client.Get(ms.url)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user