Skip to content

Commit

Permalink
Revert "Use cleintset interface"
Browse files Browse the repository at this point in the history
This reverts commit adcbe3d.
  • Loading branch information
errordeveloper committed Mar 5, 2019
1 parent adcbe3d commit a5045c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/eks/eks.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func (c *ClusterProvider) ControlPlaneVersion() string {
}

// ControlPlaneReleaseVersion returns full release version (Kubernetes API)
func (c *ClusterProvider) ControlPlaneReleaseVersion(clientSet *kubernetes.Interface) (string, error) {
func (c *ClusterProvider) ControlPlaneReleaseVersion(clientSet *kubernetes.Clientset) (string, error) {
v, err := clientSet.ServerVersion()
if err != nil {
return "", errors.Wrapf(err, "getting Kubernetes API version")
Expand Down

0 comments on commit a5045c3

Please sign in to comment.