|
@@ -34,9 +34,9 @@ type ServiceSpec struct {
|
|
UpdateConfig *UpdateConfig `json:",omitempty"`
|
|
UpdateConfig *UpdateConfig `json:",omitempty"`
|
|
RollbackConfig *UpdateConfig `json:",omitempty"`
|
|
RollbackConfig *UpdateConfig `json:",omitempty"`
|
|
|
|
|
|
- // Networks field in ServiceSpec is deprecated. The
|
|
|
|
- // same field in TaskSpec should be used instead.
|
|
|
|
- // This field will be removed in a future release.
|
|
|
|
|
|
+ // Networks specifies which networks the service should attach to.
|
|
|
|
+ //
|
|
|
|
+ // Deprecated: This field is deprecated since v1.44. The Networks field in TaskSpec should be used instead.
|
|
Networks []NetworkAttachmentConfig `json:",omitempty"`
|
|
Networks []NetworkAttachmentConfig `json:",omitempty"`
|
|
EndpointSpec *EndpointSpec `json:",omitempty"`
|
|
EndpointSpec *EndpointSpec `json:",omitempty"`
|
|
}
|
|
}
|