vendor: add github.com/Azure/azure-sdk-for-go and dependencies
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
package management
|
||||
|
||||
import (
|
||||
"io/ioutil"
|
||||
"net/http"
|
||||
)
|
||||
|
||||
func getResponseBody(response *http.Response) ([]byte, error) {
|
||||
defer response.Body.Close()
|
||||
return ioutil.ReadAll(response.Body)
|
||||
}
|
||||
Reference in New Issue
Block a user