1
0
Fork 0
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:
Drew Erny 2020-12-15 14:45:05 -06:00
parent f0014860c1
commit 295fb1c35e

View file

@ -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) {