-
Notifications
You must be signed in to change notification settings - Fork 4.1k
util/log: remove uses of deprecated package io/ioutil #92864
Copy link
Copy link
Open
Labels
C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-db-server
Description
io/ioutil is deprecated as of Go 1.16 and officially marked as deprecated as of Go 1.19. The same functionality is now provided by package io or package os, and those implementations should be preferred in new code. It is currently used in:
pkg/util/log/file_api.go
Once those uses are removed, update nogo so that it doesn't exclude the files above from its analysis.
Jira issue: CRDB-22008
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-db-server