1
0
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:
Jacob Young 2023-03-10 09:41:18 -05:00 committed by GitHub
parent 43566581f0
commit 02660eaf7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {