mirror of
https://github.com/containers/podman.git
synced 2025-11-29 17:48:05 +08:00
lint: reenable revive unused-parameter check
Signed-off-by: Matt Souza <medsouz99@gmail.com>
This commit is contained in:
@@ -34,7 +34,7 @@ func makeRawTerm(stdin *os.File) (*term.State, error) {
|
||||
return state, nil
|
||||
}
|
||||
|
||||
func notifyWinChange(ctx context.Context, winChange chan os.Signal, stdin *os.File, stdout *os.File) {
|
||||
func notifyWinChange(ctx context.Context, winChange chan os.Signal, _ *os.File, stdout *os.File) {
|
||||
// Simulate WINCH with polling
|
||||
go func() {
|
||||
var lastW int
|
||||
@@ -62,6 +62,6 @@ func notifyWinChange(ctx context.Context, winChange chan os.Signal, stdin *os.Fi
|
||||
}()
|
||||
}
|
||||
|
||||
func getTermSize(stdin *os.File, stdout *os.File) (width, height int, err error) {
|
||||
func getTermSize(_ *os.File, stdout *os.File) (width, height int, err error) {
|
||||
return term.GetSize(int(stdout.Fd()))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user