Skip to content
This repository was archived by the owner on Jul 28, 2020. It is now read-only.

Commit 49a1c24

Browse files
Anthony Emengojoaopapereira
authored andcommitted
Remove Handle property from service
Signed-off-by: Joao Pereira <[email protected]>
1 parent 90ee7a3 commit 49a1c24

File tree

3 files changed

+0
-7
lines changed

3 files changed

+0
-7
lines changed

cmd/start/start_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,12 @@ var _ = Describe("Start", func() {
5454
{
5555
Name: "some-service",
5656
Flagname: "some-service-flagname",
57-
Handle: "some-handle",
5857
Script: "/path/to/some-script",
5958
Deployment: "some-deployment",
6059
},
6160
{
6261
Name: "some-other-service",
6362
Flagname: "some-other-service-flagname",
64-
Handle: "some-other-handle",
6563
Script: "/path/to/some-other-script",
6664
Deployment: "some-other-deployment",
6765
},

provision/services.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import (
1515
type Service struct {
1616
Name string `yaml:"name"`
1717
Flagname string `yaml:"flag_name"`
18-
Handle string `yaml:"handle"` //TODO <-- remove
1918
Script string `yaml:"script"`
2019
Deployment string `yaml:"deployment"`
2120
IsErrand bool `yaml:"errand"`

provision/services_test.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,28 +20,24 @@ var _ = Describe("When progress whitelist is called with", func() {
2020
{
2121
Name: "service-one",
2222
Flagname: "service-one-flagname",
23-
Handle: "service-one-handle",
2423
Script: "/path/to/some-script",
2524
Deployment: "some-deployment",
2625
},
2726
{
2827
Name: "service-two",
2928
Flagname: "service-two-flagname",
30-
Handle: "service-two-handle",
3129
Script: "/path/to/some-script",
3230
Deployment: "some-deployment",
3331
},
3432
{
3533
Name: "service-three",
3634
Flagname: "service-three-flagname",
37-
Handle: "service-three-handle",
3835
Script: "/path/to/some-script",
3936
Deployment: "some-deployment",
4037
},
4138
{
4239
Name: "service-four",
4340
Flagname: "always-include",
44-
Handle: "service-four-handle",
4541
Script: "/path/to/some-script",
4642
Deployment: "some-deployment",
4743
},

0 commit comments

Comments
 (0)