From a8321cb7ffecedba40a5341a109e9e5943560f49 Mon Sep 17 00:00:00 2001 From: tombuildsstuff Date: Sat, 19 Aug 2017 09:05:40 +0200 Subject: [PATCH] Upgrades to v10.3 of the Azure SDK for Go --- .../arm/appinsights/version.go | 6 +- .../Azure/azure-sdk-for-go/arm/cdn/version.go | 6 +- .../azure-sdk-for-go/arm/compute/version.go | 6 +- .../arm/containerregistry/version.go | 6 +- .../arm/containerservice/version.go | 6 +- .../azure-sdk-for-go/arm/cosmos-db/version.go | 6 +- .../Azure/azure-sdk-for-go/arm/dns/version.go | 6 +- .../azure-sdk-for-go/arm/eventhub/version.go | 6 +- .../azure-sdk-for-go/arm/graphrbac/version.go | 6 +- .../azure-sdk-for-go/arm/keyvault/version.go | 6 +- .../azure-sdk-for-go/arm/network/version.go | 6 +- .../azure-sdk-for-go/arm/redis/version.go | 6 +- .../arm/resources/resources/version.go | 6 +- .../azure-sdk-for-go/arm/scheduler/version.go | 6 +- .../arm/servicebus/version.go | 6 +- .../Azure/azure-sdk-for-go/arm/sql/version.go | 9 +- .../azure-sdk-for-go/arm/storage/version.go | 6 +- .../arm/trafficmanager/version.go | 6 +- .../Azure/azure-sdk-for-go/storage/client.go | 7 +- .../azure-sdk-for-go/storage/util_1.7.go | 12 ++ .../azure-sdk-for-go/storage/util_1.8.go | 18 ++ vendor/vendor.json | 198 +++++++++--------- 22 files changed, 185 insertions(+), 161 deletions(-) create mode 100644 vendor/github.com/Azure/azure-sdk-for-go/storage/util_1.7.go create mode 100644 vendor/github.com/Azure/azure-sdk-for-go/storage/util_1.8.go diff --git a/vendor/github.com/Azure/azure-sdk-for-go/arm/appinsights/version.go b/vendor/github.com/Azure/azure-sdk-for-go/arm/appinsights/version.go index 0ec31d218d62..34b8c6110d03 100755 --- a/vendor/github.com/Azure/azure-sdk-for-go/arm/appinsights/version.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/arm/appinsights/version.go @@ -14,15 +14,15 @@ package appinsights // See the License for the specific language governing permissions and // limitations under the License. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.1.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0 // Changes may cause incorrect behavior and will be lost if the code is regenerated. // UserAgent returns the UserAgent string to use when sending http.Requests. func UserAgent() string { - return "Azure-SDK-For-Go/v10.2.0-beta arm-appinsights/" + return "Azure-SDK-For-Go/v10.3.0-beta arm-appinsights/2015-05-01" } // Version returns the semantic version (see http://semver.org) of the client. func Version() string { - return "v10.2.0-beta" + return "v10.3.0-beta" } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/arm/cdn/version.go b/vendor/github.com/Azure/azure-sdk-for-go/arm/cdn/version.go index 0686ea31969a..c6658c227dbc 100755 --- a/vendor/github.com/Azure/azure-sdk-for-go/arm/cdn/version.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/arm/cdn/version.go @@ -14,15 +14,15 @@ package cdn // See the License for the specific language governing permissions and // limitations under the License. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.1.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0 // Changes may cause incorrect behavior and will be lost if the code is regenerated. // UserAgent returns the UserAgent string to use when sending http.Requests. func UserAgent() string { - return "Azure-SDK-For-Go/v10.2.0-beta arm-cdn/2016-10-02" + return "Azure-SDK-For-Go/v10.3.0-beta arm-cdn/2016-10-02" } // Version returns the semantic version (see http://semver.org) of the client. func Version() string { - return "v10.2.0-beta" + return "v10.3.0-beta" } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/arm/compute/version.go b/vendor/github.com/Azure/azure-sdk-for-go/arm/compute/version.go index 862d94e2503c..b17e59e2fa7c 100755 --- a/vendor/github.com/Azure/azure-sdk-for-go/arm/compute/version.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/arm/compute/version.go @@ -14,15 +14,15 @@ package compute // See the License for the specific language governing permissions and // limitations under the License. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.1.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0 // Changes may cause incorrect behavior and will be lost if the code is regenerated. // UserAgent returns the UserAgent string to use when sending http.Requests. func UserAgent() string { - return "Azure-SDK-For-Go/v10.2.0-beta arm-compute/2016-04-30-preview" + return "Azure-SDK-For-Go/v10.3.0-beta arm-compute/" } // Version returns the semantic version (see http://semver.org) of the client. func Version() string { - return "v10.2.0-beta" + return "v10.3.0-beta" } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/arm/containerregistry/version.go b/vendor/github.com/Azure/azure-sdk-for-go/arm/containerregistry/version.go index ca7af7c6ca7e..f0dd894282d9 100755 --- a/vendor/github.com/Azure/azure-sdk-for-go/arm/containerregistry/version.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/arm/containerregistry/version.go @@ -14,15 +14,15 @@ package containerregistry // See the License for the specific language governing permissions and // limitations under the License. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.1.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0 // Changes may cause incorrect behavior and will be lost if the code is regenerated. // UserAgent returns the UserAgent string to use when sending http.Requests. func UserAgent() string { - return "Azure-SDK-For-Go/v10.2.0-beta arm-containerregistry/2017-03-01" + return "Azure-SDK-For-Go/v10.3.0-beta arm-containerregistry/2017-06-01-preview" } // Version returns the semantic version (see http://semver.org) of the client. func Version() string { - return "v10.2.0-beta" + return "v10.3.0-beta" } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/arm/containerservice/version.go b/vendor/github.com/Azure/azure-sdk-for-go/arm/containerservice/version.go index 8765e77b60b9..5b89daf703a0 100755 --- a/vendor/github.com/Azure/azure-sdk-for-go/arm/containerservice/version.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/arm/containerservice/version.go @@ -14,15 +14,15 @@ package containerservice // See the License for the specific language governing permissions and // limitations under the License. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.1.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0 // Changes may cause incorrect behavior and will be lost if the code is regenerated. // UserAgent returns the UserAgent string to use when sending http.Requests. func UserAgent() string { - return "Azure-SDK-For-Go/v10.2.0-beta arm-containerservice/2017-01-31" + return "Azure-SDK-For-Go/v10.3.0-beta arm-containerservice/2017-01-31" } // Version returns the semantic version (see http://semver.org) of the client. func Version() string { - return "v10.2.0-beta" + return "v10.3.0-beta" } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/arm/cosmos-db/version.go b/vendor/github.com/Azure/azure-sdk-for-go/arm/cosmos-db/version.go index fc21cb159955..2e38e9e94099 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/arm/cosmos-db/version.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/arm/cosmos-db/version.go @@ -14,15 +14,15 @@ package cosmosdb // See the License for the specific language governing permissions and // limitations under the License. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.1.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0 // Changes may cause incorrect behavior and will be lost if the code is regenerated. // UserAgent returns the UserAgent string to use when sending http.Requests. func UserAgent() string { - return "Azure-SDK-For-Go/v10.2.0-beta arm-cosmosdb/2015-04-08" + return "Azure-SDK-For-Go/v10.3.0-beta arm-cosmosdb/2015-04-08" } // Version returns the semantic version (see http://semver.org) of the client. func Version() string { - return "v10.2.0-beta" + return "v10.3.0-beta" } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/arm/dns/version.go b/vendor/github.com/Azure/azure-sdk-for-go/arm/dns/version.go index dd8f8b73b70d..11b885f4b962 100755 --- a/vendor/github.com/Azure/azure-sdk-for-go/arm/dns/version.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/arm/dns/version.go @@ -14,15 +14,15 @@ package dns // See the License for the specific language governing permissions and // limitations under the License. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.1.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0 // Changes may cause incorrect behavior and will be lost if the code is regenerated. // UserAgent returns the UserAgent string to use when sending http.Requests. func UserAgent() string { - return "Azure-SDK-For-Go/v10.2.0-beta arm-dns/2016-04-01" + return "Azure-SDK-For-Go/v10.3.0-beta arm-dns/2016-04-01" } // Version returns the semantic version (see http://semver.org) of the client. func Version() string { - return "v10.2.0-beta" + return "v10.3.0-beta" } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/arm/eventhub/version.go b/vendor/github.com/Azure/azure-sdk-for-go/arm/eventhub/version.go index f30757488ff4..ee8d0b5895ca 100755 --- a/vendor/github.com/Azure/azure-sdk-for-go/arm/eventhub/version.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/arm/eventhub/version.go @@ -14,15 +14,15 @@ package eventhub // See the License for the specific language governing permissions and // limitations under the License. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.1.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0 // Changes may cause incorrect behavior and will be lost if the code is regenerated. // UserAgent returns the UserAgent string to use when sending http.Requests. func UserAgent() string { - return "Azure-SDK-For-Go/v10.2.0-beta arm-eventhub/2015-08-01" + return "Azure-SDK-For-Go/v10.3.0-beta arm-eventhub/2017-04-01" } // Version returns the semantic version (see http://semver.org) of the client. func Version() string { - return "v10.2.0-beta" + return "v10.3.0-beta" } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/arm/graphrbac/version.go b/vendor/github.com/Azure/azure-sdk-for-go/arm/graphrbac/version.go index 3ca0b1a59097..5c3389f42cf3 100755 --- a/vendor/github.com/Azure/azure-sdk-for-go/arm/graphrbac/version.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/arm/graphrbac/version.go @@ -14,15 +14,15 @@ package graphrbac // See the License for the specific language governing permissions and // limitations under the License. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.1.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0 // Changes may cause incorrect behavior and will be lost if the code is regenerated. // UserAgent returns the UserAgent string to use when sending http.Requests. func UserAgent() string { - return "Azure-SDK-For-Go/v10.2.0-beta arm-graphrbac/" + return "Azure-SDK-For-Go/v10.3.0-beta arm-graphrbac/1.6" } // Version returns the semantic version (see http://semver.org) of the client. func Version() string { - return "v10.2.0-beta" + return "v10.3.0-beta" } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/arm/keyvault/version.go b/vendor/github.com/Azure/azure-sdk-for-go/arm/keyvault/version.go index 2be26bff332d..979552df2718 100755 --- a/vendor/github.com/Azure/azure-sdk-for-go/arm/keyvault/version.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/arm/keyvault/version.go @@ -14,15 +14,15 @@ package keyvault // See the License for the specific language governing permissions and // limitations under the License. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.1.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0 // Changes may cause incorrect behavior and will be lost if the code is regenerated. // UserAgent returns the UserAgent string to use when sending http.Requests. func UserAgent() string { - return "Azure-SDK-For-Go/v10.2.0-beta arm-keyvault/2015-06-01" + return "Azure-SDK-For-Go/v10.3.0-beta arm-keyvault/2016-10-01" } // Version returns the semantic version (see http://semver.org) of the client. func Version() string { - return "v10.2.0-beta" + return "v10.3.0-beta" } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/arm/network/version.go b/vendor/github.com/Azure/azure-sdk-for-go/arm/network/version.go index b075ca676b58..d476d157a13c 100755 --- a/vendor/github.com/Azure/azure-sdk-for-go/arm/network/version.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/arm/network/version.go @@ -14,15 +14,15 @@ package network // See the License for the specific language governing permissions and // limitations under the License. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.1.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0 // Changes may cause incorrect behavior and will be lost if the code is regenerated. // UserAgent returns the UserAgent string to use when sending http.Requests. func UserAgent() string { - return "Azure-SDK-For-Go/v10.2.0-beta arm-network/" + return "Azure-SDK-For-Go/v10.3.0-beta arm-network/" } // Version returns the semantic version (see http://semver.org) of the client. func Version() string { - return "v10.2.0-beta" + return "v10.3.0-beta" } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/arm/redis/version.go b/vendor/github.com/Azure/azure-sdk-for-go/arm/redis/version.go index 5c98eadd8e0c..938cfa1b67e8 100755 --- a/vendor/github.com/Azure/azure-sdk-for-go/arm/redis/version.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/arm/redis/version.go @@ -14,15 +14,15 @@ package redis // See the License for the specific language governing permissions and // limitations under the License. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.1.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0 // Changes may cause incorrect behavior and will be lost if the code is regenerated. // UserAgent returns the UserAgent string to use when sending http.Requests. func UserAgent() string { - return "Azure-SDK-For-Go/v10.2.0-beta arm-redis/2016-04-01" + return "Azure-SDK-For-Go/v10.3.0-beta arm-redis/2017-02-01" } // Version returns the semantic version (see http://semver.org) of the client. func Version() string { - return "v10.2.0-beta" + return "v10.3.0-beta" } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/arm/resources/resources/version.go b/vendor/github.com/Azure/azure-sdk-for-go/arm/resources/resources/version.go index 1b58352f4b23..ab4005676f4f 100755 --- a/vendor/github.com/Azure/azure-sdk-for-go/arm/resources/resources/version.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/arm/resources/resources/version.go @@ -14,15 +14,15 @@ package resources // See the License for the specific language governing permissions and // limitations under the License. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.1.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0 // Changes may cause incorrect behavior and will be lost if the code is regenerated. // UserAgent returns the UserAgent string to use when sending http.Requests. func UserAgent() string { - return "Azure-SDK-For-Go/v10.2.0-beta arm-resources/2016-09-01" + return "Azure-SDK-For-Go/v10.3.0-beta arm-resources/2017-05-10" } // Version returns the semantic version (see http://semver.org) of the client. func Version() string { - return "v10.2.0-beta" + return "v10.3.0-beta" } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/arm/scheduler/version.go b/vendor/github.com/Azure/azure-sdk-for-go/arm/scheduler/version.go index 8e506bbb9346..1797f0c6fb7c 100755 --- a/vendor/github.com/Azure/azure-sdk-for-go/arm/scheduler/version.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/arm/scheduler/version.go @@ -14,15 +14,15 @@ package scheduler // See the License for the specific language governing permissions and // limitations under the License. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.1.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0 // Changes may cause incorrect behavior and will be lost if the code is regenerated. // UserAgent returns the UserAgent string to use when sending http.Requests. func UserAgent() string { - return "Azure-SDK-For-Go/v10.2.0-beta arm-scheduler/2016-03-01" + return "Azure-SDK-For-Go/v10.3.0-beta arm-scheduler/2016-03-01" } // Version returns the semantic version (see http://semver.org) of the client. func Version() string { - return "v10.2.0-beta" + return "v10.3.0-beta" } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/arm/servicebus/version.go b/vendor/github.com/Azure/azure-sdk-for-go/arm/servicebus/version.go index 48e34352e906..8fe31198330f 100755 --- a/vendor/github.com/Azure/azure-sdk-for-go/arm/servicebus/version.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/arm/servicebus/version.go @@ -14,15 +14,15 @@ package servicebus // See the License for the specific language governing permissions and // limitations under the License. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.1.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0 // Changes may cause incorrect behavior and will be lost if the code is regenerated. // UserAgent returns the UserAgent string to use when sending http.Requests. func UserAgent() string { - return "Azure-SDK-For-Go/v10.2.0-beta arm-servicebus/2015-08-01" + return "Azure-SDK-For-Go/v10.3.0-beta arm-servicebus/2017-04-01" } // Version returns the semantic version (see http://semver.org) of the client. func Version() string { - return "v10.2.0-beta" + return "v10.3.0-beta" } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/arm/sql/version.go b/vendor/github.com/Azure/azure-sdk-for-go/arm/sql/version.go index 0e351022cb25..ba607ead1223 100755 --- a/vendor/github.com/Azure/azure-sdk-for-go/arm/sql/version.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/arm/sql/version.go @@ -14,16 +14,15 @@ package sql // See the License for the specific language governing permissions and // limitations under the License. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0 -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. +// Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0 +// Changes may cause incorrect behavior and will be lost if the code is regenerated. // UserAgent returns the UserAgent string to use when sending http.Requests. func UserAgent() string { - return "Azure-SDK-For-Go/v10.2.0-beta arm-sql/" + return "Azure-SDK-For-Go/v10.3.0-beta arm-sql/" } // Version returns the semantic version (see http://semver.org) of the client. func Version() string { - return "v10.2.0-beta" + return "v10.3.0-beta" } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/arm/storage/version.go b/vendor/github.com/Azure/azure-sdk-for-go/arm/storage/version.go index 185cdc314975..8d944c739047 100755 --- a/vendor/github.com/Azure/azure-sdk-for-go/arm/storage/version.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/arm/storage/version.go @@ -14,15 +14,15 @@ package storage // See the License for the specific language governing permissions and // limitations under the License. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.1.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0 // Changes may cause incorrect behavior and will be lost if the code is regenerated. // UserAgent returns the UserAgent string to use when sending http.Requests. func UserAgent() string { - return "Azure-SDK-For-Go/v10.2.0-beta arm-storage/2016-12-01" + return "Azure-SDK-For-Go/v10.3.0-beta arm-storage/2017-06-01" } // Version returns the semantic version (see http://semver.org) of the client. func Version() string { - return "v10.2.0-beta" + return "v10.3.0-beta" } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/arm/trafficmanager/version.go b/vendor/github.com/Azure/azure-sdk-for-go/arm/trafficmanager/version.go index c5360bace38c..2afd99b47a61 100755 --- a/vendor/github.com/Azure/azure-sdk-for-go/arm/trafficmanager/version.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/arm/trafficmanager/version.go @@ -14,15 +14,15 @@ package trafficmanager // See the License for the specific language governing permissions and // limitations under the License. // -// Code generated by Microsoft (R) AutoRest Code Generator 1.1.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0 // Changes may cause incorrect behavior and will be lost if the code is regenerated. // UserAgent returns the UserAgent string to use when sending http.Requests. func UserAgent() string { - return "Azure-SDK-For-Go/v10.2.0-beta arm-trafficmanager/2015-11-01" + return "Azure-SDK-For-Go/v10.3.0-beta arm-trafficmanager/2017-05-01" } // Version returns the semantic version (see http://semver.org) of the client. func Version() string { - return "v10.2.0-beta" + return "v10.3.0-beta" } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/storage/client.go b/vendor/github.com/Azure/azure-sdk-for-go/storage/client.go index a701c4b2c394..42fa702f65af 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/storage/client.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/storage/client.go @@ -403,12 +403,7 @@ func (c Client) exec(verb, url string, headers map[string]string, body io.Reader // and for those that it doesn't we will handle here. if body != nil && req.ContentLength < 1 { if lr, ok := body.(*io.LimitedReader); ok { - req.ContentLength = lr.N - snapshot := *lr - req.GetBody = func() (io.ReadCloser, error) { - r := snapshot - return ioutil.NopCloser(&r), nil - } + setContentLengthFromLimitedReader(req, lr) } } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/storage/util_1.7.go b/vendor/github.com/Azure/azure-sdk-for-go/storage/util_1.7.go new file mode 100644 index 000000000000..345bb28f265a --- /dev/null +++ b/vendor/github.com/Azure/azure-sdk-for-go/storage/util_1.7.go @@ -0,0 +1,12 @@ +// +build !go1.8 + +package storage + +import ( + "io" + "net/http" +) + +func setContentLengthFromLimitedReader(req *http.Request, lr *io.LimitedReader) { + req.ContentLength = lr.N +} diff --git a/vendor/github.com/Azure/azure-sdk-for-go/storage/util_1.8.go b/vendor/github.com/Azure/azure-sdk-for-go/storage/util_1.8.go new file mode 100644 index 000000000000..ed8b77919bc3 --- /dev/null +++ b/vendor/github.com/Azure/azure-sdk-for-go/storage/util_1.8.go @@ -0,0 +1,18 @@ +// +build go1.8 + +package storage + +import ( + "io" + "io/ioutil" + "net/http" +) + +func setContentLengthFromLimitedReader(req *http.Request, lr *io.LimitedReader) { + req.ContentLength = lr.N + snapshot := *lr + req.GetBody = func() (io.ReadCloser, error) { + r := snapshot + return ioutil.NopCloser(&r), nil + } +} diff --git a/vendor/vendor.json b/vendor/vendor.json index afc67a5dbca0..ec7192b63fde 100644 --- a/vendor/vendor.json +++ b/vendor/vendor.json @@ -3,164 +3,164 @@ "ignore": "test github.com/hashicorp/terraform/backend", "package": [ { - "checksumSHA1": "WUSacvJanKBuAZ7YVhWMBFyxfxA=", + "checksumSHA1": "xxl5P5tz+x9z1Fw2igjjDvokcMU=", "path": "github.com/Azure/azure-sdk-for-go/arm/appinsights", - "revision": "2d49bb8f2cee530cc16f1f1a9f0aae763dee257d", - "revisionTime": "2017-08-01T23:52:55Z", - "version": "=v10.2.1-beta", - "versionExact": "v10.2.1-beta" + "revision": "57db66900881e9fd21fd041a9d013514700ecab3", + "revisionTime": "2017-08-18T20:19:01Z", + "version": "=v10.3.0-beta", + "versionExact": "v10.3.0-beta" }, { - "checksumSHA1": "OUVtadN40F17vKxVx8vpYhCjhtU=", + "checksumSHA1": "1K/j9mahBUFLBfRPhEHxQ5Pjx/M=", "path": "github.com/Azure/azure-sdk-for-go/arm/cdn", - "revision": "2d49bb8f2cee530cc16f1f1a9f0aae763dee257d", - "revisionTime": "2017-08-01T23:52:55Z", - "version": "=v10.2.1-beta", - "versionExact": "v10.2.1-beta" + "revision": "57db66900881e9fd21fd041a9d013514700ecab3", + "revisionTime": "2017-08-18T20:19:01Z", + "version": "=v10.3.0-beta", + "versionExact": "v10.3.0-beta" }, { - "checksumSHA1": "sAAxL0A49U2m9PSsXgJsit813P0=", + "checksumSHA1": "zYz8umvBnGgNINUZSCxtgQJl9T4=", "path": "github.com/Azure/azure-sdk-for-go/arm/compute", - "revision": "2d49bb8f2cee530cc16f1f1a9f0aae763dee257d", - "revisionTime": "2017-08-01T23:52:55Z", - "version": "=v10.2.1-beta", - "versionExact": "v10.2.1-beta" + "revision": "57db66900881e9fd21fd041a9d013514700ecab3", + "revisionTime": "2017-08-18T20:19:01Z", + "version": "=v10.3.0-beta", + "versionExact": "v10.3.0-beta" }, { - "checksumSHA1": "bhvR7ld0SoWdHqAb73nkPFHS7QE=", + "checksumSHA1": "chn3haEbJWbCx0yBkusQ6SGiURg=", "path": "github.com/Azure/azure-sdk-for-go/arm/containerregistry", - "revision": "2d49bb8f2cee530cc16f1f1a9f0aae763dee257d", - "revisionTime": "2017-08-01T23:52:55Z", - "version": "=v10.2.1-beta", - "versionExact": "v10.2.1-beta" + "revision": "57db66900881e9fd21fd041a9d013514700ecab3", + "revisionTime": "2017-08-18T20:19:01Z", + "version": "=v10.3.0-beta", + "versionExact": "v10.3.0-beta" }, { - "checksumSHA1": "ve6ULoEtbYGH8A2tN+S3Jx9CLAQ=", + "checksumSHA1": "lHs3Jx+aZ1ln3eoPGTG5r5dUnnU=", "path": "github.com/Azure/azure-sdk-for-go/arm/containerservice", - "revision": "2d49bb8f2cee530cc16f1f1a9f0aae763dee257d", - "revisionTime": "2017-08-01T23:52:55Z", - "version": "=v10.2.1-beta", - "versionExact": "v10.2.1-beta" + "revision": "57db66900881e9fd21fd041a9d013514700ecab3", + "revisionTime": "2017-08-18T20:19:01Z", + "version": "=v10.3.0-beta", + "versionExact": "v10.3.0-beta" }, { - "checksumSHA1": "6KEAuzVmOYYU+gE1j0oX+q3uH90=", + "checksumSHA1": "C475bjcYHIQ9CyU3QSfKNvkA1Hw=", "path": "github.com/Azure/azure-sdk-for-go/arm/cosmos-db", - "revision": "2d49bb8f2cee530cc16f1f1a9f0aae763dee257d", - "revisionTime": "2017-08-01T23:52:55Z", - "version": "=v10.2.1-beta", - "versionExact": "v10.2.1-beta" + "revision": "57db66900881e9fd21fd041a9d013514700ecab3", + "revisionTime": "2017-08-18T20:19:01Z", + "version": "=v10.3.0-beta", + "versionExact": "v10.3.0-beta" }, { "checksumSHA1": "TZa+aR1MLk+nQVZaUWNPWCBHeBQ=", "path": "github.com/Azure/azure-sdk-for-go/arm/disk", - "revision": "2d49bb8f2cee530cc16f1f1a9f0aae763dee257d", - "revisionTime": "2017-08-01T23:52:55Z", - "version": "=v10.2.1-beta", - "versionExact": "v10.2.1-beta" + "revision": "57db66900881e9fd21fd041a9d013514700ecab3", + "revisionTime": "2017-08-18T20:19:01Z", + "version": "=v10.3.0-beta", + "versionExact": "v10.3.0-beta" }, { - "checksumSHA1": "PMVJlt6NglkevtvspPt/CVwMhsQ=", + "checksumSHA1": "E129quumAKOGlAK5y0J1Dap99D8=", "path": "github.com/Azure/azure-sdk-for-go/arm/dns", - "revision": "2d49bb8f2cee530cc16f1f1a9f0aae763dee257d", - "revisionTime": "2017-08-01T23:52:55Z", - "version": "=v10.2.1-beta", - "versionExact": "v10.2.1-beta" + "revision": "57db66900881e9fd21fd041a9d013514700ecab3", + "revisionTime": "2017-08-18T20:19:01Z", + "version": "=v10.3.0-beta", + "versionExact": "v10.3.0-beta" }, { - "checksumSHA1": "UnoFvgLL3ZnRNtIa47GRuMhEd5E=", + "checksumSHA1": "AsVckRblHlJt2zcSzEcDHPZZCTs=", "path": "github.com/Azure/azure-sdk-for-go/arm/eventhub", - "revision": "2d49bb8f2cee530cc16f1f1a9f0aae763dee257d", - "revisionTime": "2017-08-01T23:52:55Z", - "version": "=v10.2.1-beta", - "versionExact": "v10.2.1-beta" + "revision": "57db66900881e9fd21fd041a9d013514700ecab3", + "revisionTime": "2017-08-18T20:19:01Z", + "version": "=v10.3.0-beta", + "versionExact": "v10.3.0-beta" }, { - "checksumSHA1": "5KWPfOMP2S06qxDvuInCiUIO0lo=", + "checksumSHA1": "yDQC4v8V9PllhKpy/s+pih7xsdE=", "path": "github.com/Azure/azure-sdk-for-go/arm/graphrbac", - "revision": "2d49bb8f2cee530cc16f1f1a9f0aae763dee257d", - "revisionTime": "2017-08-01T23:52:55Z", - "version": "=v10.2.1-beta", - "versionExact": "v10.2.1-beta" + "revision": "57db66900881e9fd21fd041a9d013514700ecab3", + "revisionTime": "2017-08-18T20:19:01Z", + "version": "=v10.3.0-beta", + "versionExact": "v10.3.0-beta" }, { - "checksumSHA1": "0Eq/+1Tjm/R7LhkE5HHP7GS/bME=", + "checksumSHA1": "FloEh78hgEozkpt0y4SPWK23/wI=", "path": "github.com/Azure/azure-sdk-for-go/arm/keyvault", - "revision": "2d49bb8f2cee530cc16f1f1a9f0aae763dee257d", - "revisionTime": "2017-08-01T23:52:55Z", - "version": "=v10.2.1-beta", - "versionExact": "v10.2.1-beta" + "revision": "57db66900881e9fd21fd041a9d013514700ecab3", + "revisionTime": "2017-08-18T20:19:01Z", + "version": "=v10.3.0-beta", + "versionExact": "v10.3.0-beta" }, { - "checksumSHA1": "GePuCoFEStBFZ82+uXFI8RF1Hp0=", + "checksumSHA1": "bPIdXF5KK0mkG+Rqsn/KNaXwbU0=", "path": "github.com/Azure/azure-sdk-for-go/arm/network", - "revision": "2d49bb8f2cee530cc16f1f1a9f0aae763dee257d", - "revisionTime": "2017-08-01T23:52:55Z", - "version": "=v10.2.1-beta", - "versionExact": "v10.2.1-beta" + "revision": "57db66900881e9fd21fd041a9d013514700ecab3", + "revisionTime": "2017-08-18T20:19:01Z", + "version": "=v10.3.0-beta", + "versionExact": "v10.3.0-beta" }, { - "checksumSHA1": "olhzqBgaJuavhtLduDqKF88RJXU=", + "checksumSHA1": "YHH8Yx3wwtuirOhWU74IOoDrLfc=", "path": "github.com/Azure/azure-sdk-for-go/arm/redis", - "revision": "2d49bb8f2cee530cc16f1f1a9f0aae763dee257d", - "revisionTime": "2017-08-01T23:52:55Z", - "version": "=v10.2.1-beta", - "versionExact": "v10.2.1-beta" + "revision": "57db66900881e9fd21fd041a9d013514700ecab3", + "revisionTime": "2017-08-18T20:19:01Z", + "version": "=v10.3.0-beta", + "versionExact": "v10.3.0-beta" }, { - "checksumSHA1": "OPENIo2BixjKgTu6mgwJvUdePLU=", + "checksumSHA1": "mD5cAEaOLqhUeaFHbE8CLkZwM0M=", "path": "github.com/Azure/azure-sdk-for-go/arm/resources/resources", - "revision": "2d49bb8f2cee530cc16f1f1a9f0aae763dee257d", - "revisionTime": "2017-08-01T23:52:55Z", - "version": "=v10.2.1-beta", - "versionExact": "v10.2.1-beta" + "revision": "57db66900881e9fd21fd041a9d013514700ecab3", + "revisionTime": "2017-08-18T20:19:01Z", + "version": "=v10.3.0-beta", + "versionExact": "v10.3.0-beta" }, { - "checksumSHA1": "fiw0bSRQ1nk4WLAxIKdTiiPxIWQ=", + "checksumSHA1": "EMCPf+TJK2GeUHGXbC2vVgfyfhY=", "path": "github.com/Azure/azure-sdk-for-go/arm/scheduler", - "revision": "2d49bb8f2cee530cc16f1f1a9f0aae763dee257d", - "revisionTime": "2017-08-01T23:52:55Z", - "version": "=v10.2.1-beta", - "versionExact": "v10.2.1-beta" + "revision": "57db66900881e9fd21fd041a9d013514700ecab3", + "revisionTime": "2017-08-18T20:19:01Z", + "version": "=v10.3.0-beta", + "versionExact": "v10.3.0-beta" }, { - "checksumSHA1": "tslsQm58xXgFWUOYEDysaYgGF/k=", + "checksumSHA1": "b1ekMKqRHDX/sFBquWhRmodxKI8=", "path": "github.com/Azure/azure-sdk-for-go/arm/servicebus", - "revision": "2d49bb8f2cee530cc16f1f1a9f0aae763dee257d", - "revisionTime": "2017-08-01T23:52:55Z", - "version": "=v10.2.1-beta", - "versionExact": "v10.2.1-beta" + "revision": "57db66900881e9fd21fd041a9d013514700ecab3", + "revisionTime": "2017-08-18T20:19:01Z", + "version": "=v10.3.0-beta", + "versionExact": "v10.3.0-beta" }, { - "checksumSHA1": "20WEFuu9+Rvqmh/+GdSvh6OHwsw=", + "checksumSHA1": "l2NtTi3xTqGry7x9HiBi8C8GMzA=", "path": "github.com/Azure/azure-sdk-for-go/arm/sql", - "revision": "2d49bb8f2cee530cc16f1f1a9f0aae763dee257d", - "revisionTime": "2017-08-01T23:52:55Z", - "version": "=v10.2.1-beta", - "versionExact": "v10.2.1-beta" + "revision": "57db66900881e9fd21fd041a9d013514700ecab3", + "revisionTime": "2017-08-18T20:19:01Z", + "version": "=v10.3.0-beta", + "versionExact": "v10.3.0-beta" }, { - "checksumSHA1": "nnKBzCGFHnLydxMbi1vCzEOHyBY=", + "checksumSHA1": "IHdg51g2WKaTB5WXbbn9gNrtv0A=", "path": "github.com/Azure/azure-sdk-for-go/arm/storage", - "revision": "2d49bb8f2cee530cc16f1f1a9f0aae763dee257d", - "revisionTime": "2017-08-01T23:52:55Z", - "version": "=v10.2.1-beta", - "versionExact": "v10.2.1-beta" + "revision": "57db66900881e9fd21fd041a9d013514700ecab3", + "revisionTime": "2017-08-18T20:19:01Z", + "version": "=v10.3.0-beta", + "versionExact": "v10.3.0-beta" }, { - "checksumSHA1": "3845SxOflwDyqDGUQABWphYEfxQ=", + "checksumSHA1": "4SAx9lvwIkdf44C4UKqxN/epHG0=", "path": "github.com/Azure/azure-sdk-for-go/arm/trafficmanager", - "revision": "2d49bb8f2cee530cc16f1f1a9f0aae763dee257d", - "revisionTime": "2017-08-01T23:52:55Z", - "version": "=v10.2.1-beta", - "versionExact": "v10.2.1-beta" + "revision": "57db66900881e9fd21fd041a9d013514700ecab3", + "revisionTime": "2017-08-18T20:19:01Z", + "version": "=v10.3.0-beta", + "versionExact": "v10.3.0-beta" }, { - "checksumSHA1": "d0xhF6pIGji1eV5aEEdlq3vliWo=", + "checksumSHA1": "KWdWO4eMy7/x85pgQhngfaTiqz8=", "path": "github.com/Azure/azure-sdk-for-go/storage", - "revision": "2d49bb8f2cee530cc16f1f1a9f0aae763dee257d", - "revisionTime": "2017-08-01T23:52:55Z", - "version": "=v10.2.1-beta", - "versionExact": "v10.2.1-beta" + "revision": "57db66900881e9fd21fd041a9d013514700ecab3", + "revisionTime": "2017-08-18T20:19:01Z", + "version": "=v10.3.0-beta", + "versionExact": "v10.3.0-beta" }, { "checksumSHA1": "+j3RYZx8muDV0rto3MOtyS6e+aM=",