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

Commit 1773a3c

Browse files
authored
feat: generic systems (#287)
1 parent 90cf299 commit 1773a3c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

internal/fleek/system.go

+4
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ func Name() (string, error) {
5757
}
5858

5959
func Hostname() (string, error) {
60+
override := os.Getenv("FLEEK_HOST_OVERRIDE")
61+
if override != "" {
62+
return override, nil
63+
}
6064
h, e := os.Hostname()
6165
if e != nil {
6266
return "", e

0 commit comments

Comments
 (0)