Skip to content

roachprod: remove uses of deprecated package io/ioutil #92862

@healthy-pod

Description

@healthy-pod

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/roachprod/install/cluster_synced.go

Once those uses are removed, update nogo so that it doesn't exclude the files above from its analysis.

Jira issue: CRDB-22006

Metadata

Metadata

Assignees

Labels

C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-testengTestEng Team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions