azure: revendor + remove hacky solution in is404

Removing the temporary workaround in is404() method by re-vendoring
the azure-sdk-for-go.

Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
This commit is contained in:
Ahmet Alp Balkan 2016-12-12 21:12:39 -08:00 committed by Derek McGowan
parent 129ad8ea0c
commit 0a1ce58e2c
No known key found for this signature in database
GPG key ID: F58C5D0A4405ACDB
7 changed files with 1007 additions and 122 deletions

View file

@ -77,7 +77,7 @@ func headersFromStruct(v interface{}) map[string]string {
for i := 0; i < value.NumField(); i++ {
key := value.Type().Field(i).Tag.Get("header")
val := value.Field(i).String()
if val != "" {
if key != "" && val != "" {
headers[key] = val
}
}