From c75b814c41a08ec4c5816e142f9f548edc551c63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemys=C5=82aw=20Golicz?= Date: Tue, 7 May 2024 10:04:17 +0200 Subject: [PATCH] remove unused file closer.go used for oauth client --- components/provisioner/internal/util/closer.go | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 components/provisioner/internal/util/closer.go diff --git a/components/provisioner/internal/util/closer.go b/components/provisioner/internal/util/closer.go deleted file mode 100644 index 370e1e691d..0000000000 --- a/components/provisioner/internal/util/closer.go +++ /dev/null @@ -1,14 +0,0 @@ -package util - -import ( - "io" - - "github.com/sirupsen/logrus" -) - -func Close(closer io.ReadCloser) { - err := closer.Close() - if err != nil { - logrus.Warnf("Failed to close read closer: %s", err.Error()) - } -}