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

Commit

Permalink
feat: generic systems (#287)
Browse files Browse the repository at this point in the history
  • Loading branch information
bketelsen authored Sep 21, 2023
1 parent 90cf299 commit 1773a3c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/fleek/system.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ func Name() (string, error) {
}

func Hostname() (string, error) {
override := os.Getenv("FLEEK_HOST_OVERRIDE")
if override != "" {
return override, nil
}
h, e := os.Hostname()
if e != nil {
return "", e
Expand Down

0 comments on commit 1773a3c

Please sign in to comment.