Skip to content

Commit

Permalink
Clean up imports
Browse files Browse the repository at this point in the history
  • Loading branch information
navidshaikh committed Jun 28, 2019
1 parent 385e028 commit 172bebd
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 6 deletions.
3 changes: 2 additions & 1 deletion pkg/kn/commands/route/list_flags_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@
package route

import (
"testing"

"github.com/knative/client/pkg/kn/commands"
"k8s.io/cli-runtime/pkg/genericclioptions"
"testing"
)

func TestRoutListFlags(t *testing.T) {
Expand Down
5 changes: 3 additions & 2 deletions pkg/kn/commands/service/service_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@ package service
import (
"errors"
"fmt"
"io"
"time"

"github.com/knative/client/pkg/kn/commands"
serving_v1alpha1_api "github.com/knative/serving/pkg/apis/serving/v1alpha1"
serving_v1alpha1_client "github.com/knative/serving/pkg/client/clientset/versioned/typed/serving/v1alpha1"
"github.com/spf13/cobra"
"io"
"time"

corev1 "k8s.io/api/core/v1"
api_errors "k8s.io/apimachinery/pkg/api/errors"
Expand Down
1 change: 1 addition & 0 deletions pkg/kn/commands/service/wait_args.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ package service

import (
"fmt"

"github.com/knative/client/pkg/wait"
"github.com/knative/pkg/apis"
serving_v1alpha1_api "github.com/knative/serving/pkg/apis/serving/v1alpha1"
Expand Down
1 change: 1 addition & 0 deletions pkg/kn/commands/wait_flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ package commands

import (
"fmt"

"github.com/spf13/cobra"
)

Expand Down
3 changes: 2 additions & 1 deletion pkg/kn/commands/wait_flags_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@
package commands

import (
"github.com/spf13/cobra"
"strings"
"testing"

"github.com/spf13/cobra"
)

type waitTestCase struct {
Expand Down
5 changes: 3 additions & 2 deletions pkg/wait/wait_for_ready.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,15 @@ package wait

import (
"fmt"
"github.com/knative/pkg/apis"
"io"
"time"

"github.com/knative/pkg/apis"
corev1 "k8s.io/api/core/v1"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/fields"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/watch"
"time"
)

// Callbacks and configuration used while waiting
Expand Down

0 comments on commit 172bebd

Please sign in to comment.