Skip to content

Commit 62a52f9

Browse files
authored
Merge pull request #1745 from wangyu-geek/add_anolis_family_in_host_linux
add anolis family with anolis platform in host/host_linux.go
2 parents aa9796d + 8e62971 commit 62a52f9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

host/host_linux.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,8 @@ func PlatformInformationWithContext(ctx context.Context) (platform string, famil
315315
family = "solus"
316316
case "neokylin":
317317
family = "neokylin"
318+
case "anolis":
319+
family = "anolis"
318320
}
319321

320322
return platform, family, version, nil

0 commit comments

Comments
 (0)