mirror of
https://github.com/containers/podman.git
synced 2025-11-28 17:18:58 +08:00
lint: reenable revive unused-parameter check
Signed-off-by: Matt Souza <medsouz99@gmail.com>
This commit is contained in:
@@ -15,10 +15,10 @@ func makeRawTerm(stdin *os.File) (*term.State, error) {
|
||||
return term.MakeRaw(int(stdin.Fd()))
|
||||
}
|
||||
|
||||
func notifyWinChange(ctx context.Context, winChange chan os.Signal, stdin *os.File, stdout *os.File) {
|
||||
func notifyWinChange(_ context.Context, winChange chan os.Signal, _ *os.File, _ *os.File) {
|
||||
signal.Notify(winChange, sig.SIGWINCH)
|
||||
}
|
||||
|
||||
func getTermSize(stdin *os.File, stdout *os.File) (width, height int, err error) {
|
||||
func getTermSize(stdin *os.File, _ *os.File) (width, height int, err error) {
|
||||
return term.GetSize(int(stdin.Fd()))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user