Vendor update (#12559)

This commit is contained in:
Alexander 2017-03-09 18:33:21 +01:00 committed by Paul Stack
parent 200d5787ca
commit 8482dda375
3 changed files with 13 additions and 13 deletions

View File

@ -37,9 +37,9 @@ type APIReference struct {
}
type errorObject struct {
Code int `json:"code,omitempty"`
Mesage string `json:"message,omitempty"`
Errors []string `json:"errors,omitempty"`
Code int `json:"code,omitempty"`
Message string `json:"message,omitempty"`
Errors interface{} `json:"errors,omitempty"`
}
// Client wraps http client

View File

@ -9,13 +9,13 @@ import (
// MaintenanceWindow is used to temporarily disable one or more services for a set period of time.
type MaintenanceWindow struct {
APIObject
SequenceNumber uint `json:"sequence_number,omitempty"`
StartTime string `json:"start_time"`
EndTime string `json:"end_time"`
Description string
Services []APIObject
Teams []APIListObject
CreatedBy APIListObject `json:"created_by"`
SequenceNumber uint `json:"sequence_number,omitempty"`
StartTime string `json:"start_time"`
EndTime string `json:"end_time"`
Description string `json:"description"`
Services []APIObject `json:"services"`
Teams []APIListObject `json:"teams"`
CreatedBy APIListObject `json:"created_by"`
}
// ListMaintenanceWindowsResponse is the data structur returned from calling the ListMaintenanceWindows API endpoint.

6
vendor/vendor.json vendored
View File

@ -385,10 +385,10 @@
"revisionTime": "2016-11-03T18:56:17Z"
},
{
"checksumSHA1": "ibs+ylGiQibNx5GeZlCKx7A/zH8=",
"checksumSHA1": "iysTPYhDNP3x2reGLTMgNHw+iL0=",
"path": "github.com/PagerDuty/go-pagerduty",
"revision": "fcea06d066d768bf90755d1071dd444c6abff524",
"revisionTime": "2017-03-01T18:59:23Z"
"revision": "cc53abe550274c2dec666e7f44cefc9ee10e429d",
"revisionTime": "2017-03-09T00:45:39Z"
},
{
"checksumSHA1": "NX4v3cbkXAJxFlrncqT9yEUBuoA=",