mirror of
https://github.com/shirou/gopsutil.git
synced 2025-04-29 13:49:21 +08:00
Update host/host_linux.go
Use a raw string instead of escaped quotes. Co-authored-by: shirou <shirou.faw@gmail.com>
This commit is contained in:
parent
43566581f0
commit
02660eaf7c
@ -210,7 +210,7 @@ func PlatformInformationWithContext(ctx context.Context) (platform string, famil
|
||||
} else if lsb.ID == "Kylin" {
|
||||
platform = "Kylin"
|
||||
version = lsb.Release
|
||||
} else if lsb.ID == "\"Cumulus Linux\"" {
|
||||
} else if lsb.ID == `"Cumulus Linux"` {
|
||||
platform = "cumuluslinux"
|
||||
version = lsb.Release
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user