minio / mc

Unix like utilities for object store
https://min.io/download
GNU Affero General Public License v3.0
2.88k stars 550 forks source link

cleanup use of os.Environ() re-use env.List(prefix) #5048

Closed harshavardhana closed 1 month ago

harshavardhana commented 1 month ago

Community Contribution License

All community contributions in this pull request are licensed to the project maintainers under the terms of the Apache 2 license. By creating this pull request I represent that I have the right to license the contributions to the project maintainers under the Apache 2 license.

Description

cleanup use of os.Environ() re-use env.List(prefix)

Motivation and Context

just cleanup and more readable

How to test this PR?

Nothing special

Types of changes

Checklist: