Skip to content

Commit

Permalink
reporter/metadata: Add Talos Omni containerd path to known paths
Browse files Browse the repository at this point in the history
  • Loading branch information
brancz committed Dec 5, 2024
1 parent 90a9510 commit 8b839a4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions reporter/metadata/containermetadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -467,9 +467,12 @@ func GetControllerOf(controllee v1.Object) *v1.OwnerReference {
}

func getContainerdClient() *containerd.Client {
knownContainerdSockets := []string{"/run/containerd/containerd.sock",
knownContainerdSockets := []string{
"/run/containerd/containerd.sock",
"/var/run/containerd/containerd.sock",
"/var/run/docker/containerd/containerd.sock"}
"/var/run/docker/containerd/containerd.sock",
"/system/run/containerd/containerd.sock",
}

for _, socket := range knownContainerdSockets {
if _, err := os.Stat(socket); err != nil {
Expand Down

0 comments on commit 8b839a4

Please sign in to comment.