Update host/host_linux.go

Use a raw string instead of escaped quotes.

Co-authored-by: shirou <shirou.faw@gmail.com>
pull/1421/head
Jacob Young 2 years ago committed by GitHub
parent 43566581f0
commit 02660eaf7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save