Skip to content
This repository has been archived by the owner on Mar 11, 2021. It is now read-only.

Commit

Permalink
fixes gofmt
Browse files Browse the repository at this point in the history
  • Loading branch information
hrishin committed Nov 29, 2018
1 parent cc41ea4 commit 0b1e507
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion controller/pipelines.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package controller

import (
"fmt"
"github.com/fabric8-services/fabric8-wit/app"
"github.com/fabric8-services/fabric8-wit/configuration"
"github.com/fabric8-services/fabric8-wit/errors"
Expand All @@ -9,7 +10,6 @@ import (
"github.com/goadesign/goa"
errs "github.com/pkg/errors"
"github.com/satori/go.uuid"
"fmt"
)

// pipeline implements the pipeline resource.
Expand Down
2 changes: 1 addition & 1 deletion controller/platform_clients.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func (g *defaultClientGetter) GetAndCheckOSIOClient(ctx context.Context) (Opensh
if err != nil {
log.Error(ctx, map[string]interface{}{
"Sada": witURLStr,
"err": err,
"err": err,
}, "cannot parse FABRIC8_WIT_API_URL: %s", witURLStr)
return nil, errs.Wrapf(err, "cannot parse FABRIC8_WIT_API_URL: %s", witURLStr)
}
Expand Down
4 changes: 2 additions & 2 deletions controller/space_blackbox_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ func (s *SpaceControllerTestSuite) TestDeleteSpace() {
"http://core/api/deployments/spaces/aec5f659-0680-4633-8599-5f14f1deeabc/applications/testspace1/deployments/run": {},
"http://core/api/deployments/spaces/aec5f659-0680-4633-8599-5f14f1deeabc/applications/testspace2/deployments/stage": {},
"http://core/api/deployments/spaces/aec5f659-0680-4633-8599-5f14f1deeabc/applications/testspace2/deployments/run": {},
"http://core/api/spaces/aec5f659-0680-4633-8599-5f14f1deeabc/pipelines": {},
"http://core/api/spaces/aec5f659-0680-4633-8599-5f14f1deeabc/pipelines": {},
}

rDeployments, err := recorder.New("../test/data/deployments/deployments_delete_space.ok")
Expand Down Expand Up @@ -482,7 +482,7 @@ func (s *SpaceControllerTestSuite) TestDeleteSpace() {
"http://core/api/deployments/spaces/4d19e0fb-b558-4160-8768-f41cb8169e95/applications/testspace1/deployments/run": {},
"http://core/api/deployments/spaces/4d19e0fb-b558-4160-8768-f41cb8169e95/applications/testspace2/deployments/stage": {},
"http://core/api/deployments/spaces/4d19e0fb-b558-4160-8768-f41cb8169e95/applications/testspace2/deployments/run": {},
"http://core/api/spaces/4d19e0fb-b558-4160-8768-f41cb8169e95/pipelines": {},
"http://core/api/spaces/4d19e0fb-b558-4160-8768-f41cb8169e95/pipelines": {},
}

rDeployments, err := recorder.New("../test/data/deployments/deployments_delete_space.ok-skip-cluster-false")
Expand Down

0 comments on commit 0b1e507

Please sign in to comment.