Skip to content

Commit

Permalink
Lowercase for AIX hostname
Browse files Browse the repository at this point in the history
  • Loading branch information
ycombinator committed Jun 1, 2023
1 parent 46ff8e1 commit 7ffcef0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion providers/aix/host_aix_ppc64.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ import (
"errors"
"fmt"
"os"
"strings"
"time"

"github.com/joeshaw/multierror"
Expand Down Expand Up @@ -173,7 +174,7 @@ func (r *reader) hostname(h *host) {
if r.addErr(err) {
return
}
h.info.Hostname = v
h.info.Hostname = strings.ToLower(v)
}

func (r *reader) network(h *host) {
Expand Down

0 comments on commit 7ffcef0

Please sign in to comment.