summaryrefslogtreecommitdiff
diff options
authorMichael Vogt <mvo@ubuntu.com>2017-08-22 20:17:04 +0200
committerMichael Vogt <mvo@ubuntu.com>2017-08-22 20:17:09 +0200
commit19f0f6287d42352b364b91fb0078b1d954fba067 (patch)
treecf6c118f5e7f7485ab0f6f33d406dd50fd9ba294
parent3eaed67668ca3182eb87446f42c15cc8a52fdba8 (diff)
fix {Restart,Stop}Options parametersgo-vet-zesty
-rw-r--r--client/apps_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/client/apps_test.go b/client/apps_test.go
index 6b4d42d584..deecb38dd6 100644
--- a/client/apps_test.go
+++ b/client/apps_test.go
@@ -266,8 +266,8 @@ func (cs *clientSuite) TestClientServiceStop(c *check.C) {
{"foo", "bar", "baz"},
} {
for _, opts := range []client.StopOptions{
- {Enable: true},
- {Enable: false},
+ {Disable: true},
+ {Disable: false},
} {
scs = append(scs, tT{
names: names,
@@ -327,8 +327,8 @@ func (cs *clientSuite) TestClientServiceRestart(c *check.C) {
{"foo", "bar", "baz"},
} {
for _, opts := range []client.RestartOptions{
- {Enable: true},
- {Enable: false},
+ {Reload: true},
+ {Reload: false},
} {
scs = append(scs, tT{
names: names,