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

Commit

Permalink
Update verify-gofmt and run update gofmt
Browse files Browse the repository at this point in the history
Signed-off-by: Chuck Ha <chuckh@vmware.com>
  • Loading branch information
chuckha committed Jul 2, 2019
1 parent 9b76246 commit b8f6527
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/capdctl/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ func makeManagementCluster(clusterName string) {
cpMounts := []cri.Mount{
{
ContainerPath: "/var/run/docker.sock",
HostPath: "/var/run/docker.sock",
HostPath: "/var/run/docker.sock",
},
}
cp, err := actions.CreateControlPlane(clusterName, "management-control-plane", lbipv4, "v1.14.2", cpMounts)
Expand Down
1 change: 1 addition & 0 deletions hack/verify-gofmt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,5 @@ if [[ -n "${diff}" ]]; then
echo "${diff}"
echo
echo "Check failed. Please run hack/update-gofmt.sh"
exit 1
fi
2 changes: 1 addition & 1 deletion kind/actions/cluster_actions.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ import (
"strings"

"github.com/pkg/errors"
k8sverison "k8s.io/apimachinery/pkg/util/version"
"sigs.k8s.io/cluster-api-provider-docker/kind/kubeadm"
"sigs.k8s.io/cluster-api-provider-docker/third_party/forked/loadbalancer"
"sigs.k8s.io/kind/pkg/cluster/constants"
"sigs.k8s.io/kind/pkg/cluster/nodes"
"sigs.k8s.io/kind/pkg/container/docker"
"sigs.k8s.io/kind/pkg/exec"
k8sverison "k8s.io/apimachinery/pkg/util/version"
)

// KubeadmJoinControlPlane joins a control plane to an existing Kubernetes cluster.
Expand Down
2 changes: 1 addition & 1 deletion kind/actions/kind.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ import (
"path/filepath"
"regexp"

"sigs.k8s.io/kind/pkg/cluster/config/defaults"
"github.com/pkg/errors"
"sigs.k8s.io/cluster-api-provider-docker/third_party/forked/loadbalancer"
"sigs.k8s.io/kind/pkg/cluster/config/defaults"
"sigs.k8s.io/kind/pkg/cluster/constants"
"sigs.k8s.io/kind/pkg/cluster/nodes"
"sigs.k8s.io/kind/pkg/container/cri"
Expand Down

0 comments on commit b8f6527

Please sign in to comment.