diff --git a/cmd/manager/deployments_test.go b/cmd/manager/deployments_test.go index 43d57787b..4243a39f0 100644 --- a/cmd/manager/deployments_test.go +++ b/cmd/manager/deployments_test.go @@ -84,8 +84,8 @@ func TestListDeployments(t *testing.T) { man := c.Manager.(*mockManager) man.deployments = []*common.Deployment{ - &common.Deployment{Name: "one", State: &common.DeploymentState{Status: common.CreatedStatus}}, - &common.Deployment{Name: "two", State: &common.DeploymentState{Status: common.DeployedStatus}}, + {Name: "one", State: &common.DeploymentState{Status: common.CreatedStatus}}, + {Name: "two", State: &common.DeploymentState{Status: common.DeployedStatus}}, } res, err := http.Get(s.URL + "/deployments")