mirror of
https://github.com/restic/restic.git
synced 2025-12-08 06:09:56 +00:00
Update dependenciess
Exclude minio-go for now (pin to 3.x.y).
This commit is contained in:
parent
9d0f13c4c0
commit
946c8399e2
2985 changed files with 1008107 additions and 118934 deletions
|
|
@ -112,8 +112,8 @@ type TimeseriesDescriptor struct {
|
|||
}
|
||||
|
||||
func (s *TimeseriesDescriptor) MarshalJSON() ([]byte, error) {
|
||||
type noMethod TimeseriesDescriptor
|
||||
raw := noMethod(*s)
|
||||
type NoMethod TimeseriesDescriptor
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
|
|
@ -199,7 +199,7 @@ func (c *AtlasGetMapCall) Do(opts ...googleapi.CallOption) (map[string]string, e
|
|||
}
|
||||
var ret map[string]string
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue