You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// JSONError wraps a concrete Code and Message, Code is
19
-
// an integer error code, Message is the error message.
20
-
typeJSONErrorstruct {
21
-
Codeint`json:"code,omitempty"`
22
-
Messagestring`json:"message,omitempty"`
23
-
}
24
-
25
-
func (e*JSONError) Error() string {
26
-
returne.Message
27
-
}
28
-
29
19
// JSONProgress describes a progress message in a JSON stream.
30
20
typeJSONProgressstruct {
31
21
// Current is the current status and value of the progress made towards Total.
@@ -148,12 +138,12 @@ type JSONMessage struct {
148
138
// ProgressMessage is a pre-formatted presentation of [Progress].
149
139
//
150
140
// Deprecated: this field is deprecated since docker v0.7.1 / API v1.8. Use the information in [Progress] instead. This field will be omitted in a future release.
0 commit comments