Skip to content
This repository was archived by the owner on Mar 27, 2024. It is now read-only.

Remove global variable#349

Merged
nkubala merged 1 commit intoGoogleContainerTools:masterfrom
leonor16resende:rm-global-var
Feb 25, 2021
Merged

Remove global variable#349
nkubala merged 1 commit intoGoogleContainerTools:masterfrom
leonor16resende:rm-global-var

Conversation

@leonor16resende
Copy link
Copy Markdown
Contributor

This PR is a small code improvement. Since the variable hardlinks is only used in the function unpackTar(), there is no need for it to have global scope. Therefore, this change will limit the variable scope to this function only.

@leonor16resende
Copy link
Copy Markdown
Contributor Author

ping @nkubala @tstromberg

Copy link
Copy Markdown
Contributor

@nkubala nkubala left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nkubala nkubala merged commit e191f5b into GoogleContainerTools:master Feb 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants