Skip to content

Commit

Permalink
Update host/host_linux.go
Browse files Browse the repository at this point in the history
Use a raw string instead of escaped quotes.

Co-authored-by: shirou <[email protected]>
  • Loading branch information
jak3kaj and shirou authored Mar 10, 2023
1 parent 4356658 commit 02660ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion host/host_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 02660ea

Please sign in to comment.