mirror of
https://github.com/containers/podman.git
synced 2025-11-13 09:38:05 +08:00
vendor c/common@main
In hope to fix a CI flake. Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
This commit is contained in:
4
vendor/github.com/containers/common/pkg/machine/machine.go
generated
vendored
4
vendor/github.com/containers/common/pkg/machine/machine.go
generated
vendored
@@ -9,6 +9,8 @@ import (
|
||||
"github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
// TODO: change name to MachineMarker since package is already called machine
|
||||
//nolint:revive
|
||||
type MachineMarker struct {
|
||||
Enabled bool
|
||||
Type string
|
||||
@@ -54,6 +56,8 @@ func IsPodmanMachine() bool {
|
||||
return GetMachineMarker().Enabled
|
||||
}
|
||||
|
||||
// TODO: change name to HostType since package is already called machine
|
||||
//nolint:revive
|
||||
func MachineHostType() string {
|
||||
return GetMachineMarker().Type
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user