From 34af565d7ecf9bb38cc378a915ac14a85af25fd2 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Fri, 3 Dec 2021 12:38:40 +0000 Subject: satisfy sonarqube --- internal/io/dlog/loggers/stdout.go | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'internal/io/dlog/loggers/stdout.go') diff --git a/internal/io/dlog/loggers/stdout.go b/internal/io/dlog/loggers/stdout.go index 0369ed7..ef30855 100644 --- a/internal/io/dlog/loggers/stdout.go +++ b/internal/io/dlog/loggers/stdout.go @@ -60,7 +60,13 @@ func (s *stdout) log(message string, nl bool) { func (s *stdout) Pause() { s.pauseCh <- struct{}{} } func (s *stdout) Resume() { s.resumeCh <- struct{}{} } -func (s *stdout) Flush() {} -func (s *stdout) Rotate() {} + +func (s *stdout) Flush() { + // This is empty because it isn't doing anything but has to satisfy the interface. +} + +func (s *stdout) Rotate() { + // This is empty because it isn't doing anything but has to satisfy the interface. +} func (stdout) SupportsColors() bool { return true } -- cgit v1.2.3