mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Fix jobs mode filter spelling
Oops. Signed-off-by: Drew Erny <derny@mirantis.com>
This commit is contained in:
parent
f0014860c1
commit
295fb1c35e
1 changed files with 2 additions and 2 deletions
|
@ -92,9 +92,9 @@ func (c *Cluster) GetServices(options apitypes.ServiceListOptions) ([]types.Serv
|
|||
case *swarmapi.ServiceSpec_Replicated:
|
||||
mode = "replicated"
|
||||
case *swarmapi.ServiceSpec_ReplicatedJob:
|
||||
mode = "replicatedjob"
|
||||
mode = "replicated-job"
|
||||
case *swarmapi.ServiceSpec_GlobalJob:
|
||||
mode = "globaljob"
|
||||
mode = "global-job"
|
||||
}
|
||||
|
||||
if !options.Filters.ExactMatch("mode", mode) {
|
||||
|
|
Loading…
Reference in a new issue