Skip to content

Commit

Permalink
Merge pull request #205 from perithompson/node_addresses_bug
Browse files Browse the repository at this point in the history
Corrected order of GetNodeAddresses inputs to match providers
  • Loading branch information
vladimirvivien authored Jun 16, 2021
2 parents 7e013da + a2e37b1 commit d4a2d55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion k8s/nodes.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"k8s.io/apimachinery/pkg/runtime"
)

func GetNodeAddresses(ctx context.Context, kubeconfigPath string, labels, names []string) ([]string, error) {
func GetNodeAddresses(ctx context.Context, kubeconfigPath string, names, labels []string) ([]string, error) {
client, err := New(kubeconfigPath)
if err != nil {
return nil, errors.Wrap(err, "could not initialize search client")
Expand Down

0 comments on commit d4a2d55

Please sign in to comment.