From a6f8cad545fa3242a2778c9a0d25da4da0a51ce2 Mon Sep 17 00:00:00 2001 From: Paul Holzinger Date: Mon, 30 May 2022 15:25:57 +0200 Subject: fix bad import path for cmd/podman/utils Libpod or packages under /pkg should never import from /cmd/... This will quickly result in import cycles and weird code paths. Also there is no reason to use this special code we can just use syscall.SIGHUB as SIGNAL. Signed-off-by: Paul Holzinger --- cmd/podman/utils/signals_windows.go | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 cmd/podman/utils/signals_windows.go (limited to 'cmd/podman/utils/signals_windows.go') diff --git a/cmd/podman/utils/signals_windows.go b/cmd/podman/utils/signals_windows.go deleted file mode 100644 index e6fcc1b32..000000000 --- a/cmd/podman/utils/signals_windows.go +++ /dev/null @@ -1,15 +0,0 @@ -//go:build windows -// +build windows - -package utils - -import ( - "os" - - "golang.org/x/sys/windows" -) - -// Platform specific signal synonyms -var ( - SIGHUP os.Signal = windows.SIGHUP -) -- cgit v1.2.3-54-g00ecf