From d8e2737cc5c8bd3100b90d4a382084c5afd429eb Mon Sep 17 00:00:00 2001 From: Matthew Riley Date: Tue, 4 Apr 2023 21:26:28 -0700 Subject: [PATCH] Remove outdated comments The call to `SetModTime` was removed in #11002 but the comment stayed around. The `nolint` directive had been added in #1494 to excuse the (now-removed) use of `SetModTime`. --- sdk/go/common/resource/asset.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sdk/go/common/resource/asset.go b/sdk/go/common/resource/asset.go index ad1bf6c47f3a..16f4956dab66 100644 --- a/sdk/go/common/resource/asset.go +++ b/sdk/go/common/resource/asset.go @@ -1047,9 +1047,7 @@ func addNextFileToZIP(r ArchiveReader, zw *zip.Writer, seenFiles map[string]bool // Set a nonzero -- but constant -- modification time. Otherwise, some agents (e.g. Azure // websites) can't extract the resulting archive. The date is comfortably after 1980 because - // the ZIP format includes a date representation that starts at 1980. Use `SetModTime` to - // remain compatible with Go 1.9. - //nolint:megacheck + // the ZIP format includes a date representation that starts at 1980. fh.Modified = time.Date(1990, time.January, 1, 0, 0, 0, 0, time.UTC) fw, err := zw.CreateHeader(fh)