Skip to content

Commit 7564297

Browse files
author
Aaron Schlesinger
committed
fix(*): fix more import paths
these weren’t caught in the make test command because the cli was being mounted to ‘github.com/deis/workflow-cli/client’, which was making them work
1 parent 7221f5b commit 7564297

25 files changed

Lines changed: 56 additions & 56 deletions

client/http.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
"strconv"
1414
"strings"
1515

16-
"github.com/deis/workflow-cli/client/version"
16+
"github.com/deis/workflow-cli/version"
1717
)
1818

1919
// CreateHTTPClient creates a HTTP Client with proper SSL options.

client/http_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"net/url"
99
"testing"
1010

11-
"github.com/deis/workflow-cli/client/version"
11+
"github.com/deis/workflow-cli/version"
1212
)
1313

1414
type fakeHTTPServer struct{}

client/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"os"
66
"path"
77

8-
"github.com/deis/workflow-cli/client/version"
8+
"github.com/deis/workflow-cli/version"
99
)
1010

1111
func locateSettingsFile() string {

models/apps/apps.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"strconv"
77
"strings"
88

9-
"github.com/deis/workflow-cli/client/controller/api"
10-
"github.com/deis/workflow-cli/client/controller/client"
9+
"github.com/deis/workflow-cli/controller/api"
10+
"github.com/deis/workflow-cli/controller/client"
1111
)
1212

1313
const workflowURLPrefix = "deis."

models/apps/apps_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ import (
99
"reflect"
1010
"testing"
1111

12-
"github.com/deis/workflow-cli/client/controller/api"
13-
"github.com/deis/workflow-cli/client/controller/client"
14-
"github.com/deis/workflow-cli/client/version"
12+
"github.com/deis/workflow-cli/controller/api"
13+
"github.com/deis/workflow-cli/controller/client"
14+
"github.com/deis/workflow-cli/version"
1515
)
1616

1717
const appFixture string = `

models/auth/auth.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package auth
33
import (
44
"encoding/json"
55

6-
"github.com/deis/workflow-cli/client/controller/api"
7-
"github.com/deis/workflow-cli/client/controller/client"
6+
"github.com/deis/workflow-cli/controller/api"
7+
"github.com/deis/workflow-cli/controller/client"
88
)
99

1010
// Register a new user with the controller.

models/auth/auth_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import (
99
"reflect"
1010
"testing"
1111

12-
"github.com/deis/workflow-cli/client/controller/client"
13-
"github.com/deis/workflow-cli/client/version"
12+
"github.com/deis/workflow-cli/controller/client"
13+
"github.com/deis/workflow-cli/version"
1414
)
1515

1616
const registerExpected string = `{"username":"test","password":"opensesame","email":"test@example.com"}`

models/builds/builds.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"encoding/json"
55
"fmt"
66

7-
"github.com/deis/workflow-cli/client/controller/api"
8-
"github.com/deis/workflow-cli/client/controller/client"
7+
"github.com/deis/workflow-cli/controller/api"
8+
"github.com/deis/workflow-cli/controller/client"
99
)
1010

1111
// List lists an app's builds.

models/builds/builds_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ import (
99
"reflect"
1010
"testing"
1111

12-
"github.com/deis/workflow-cli/client/controller/api"
13-
"github.com/deis/workflow-cli/client/controller/client"
14-
"github.com/deis/workflow-cli/client/version"
12+
"github.com/deis/workflow-cli/controller/api"
13+
"github.com/deis/workflow-cli/controller/client"
14+
"github.com/deis/workflow-cli/version"
1515
)
1616

1717
const buildsFixture string = `

models/certs/certs.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"encoding/json"
55
"fmt"
66

7-
"github.com/deis/workflow-cli/client/controller/api"
8-
"github.com/deis/workflow-cli/client/controller/client"
7+
"github.com/deis/workflow-cli/controller/api"
8+
"github.com/deis/workflow-cli/controller/client"
99
)
1010

1111
// List certs registered with the controller.

0 commit comments

Comments
 (0)