Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the broken/unused/unneeded $AIRGAP_CHECKSUMS_URL argument #1805

Merged
merged 3 commits into from Sep 15, 2021

Conversation

rgl
Copy link
Contributor

@rgl rgl commented Sep 11, 2021

Proposed Changes

This fixes the install.ps1 problem described at #1804

I also took the opportunity to enable the powershell strict mode and prevent New-Item from outputting the useless directory object to stdout.

Types of Changes

Bugfix.

Verification

Install the agent on Windows using the modified install.ps1 file.

Linked Issues

#1804

this prevents these useless outputs in the command output:

    Directory: C:\usr

Mode                LastWriteTime         Length Name
----                -------------         ------ ----
d-----       11/09/2021     10:13                local
this allows for better error handling/reporting like mentioned in rancher#1804
@rgl rgl requested a review from a team as a code owner September 11, 2021 09:37
@rgl rgl changed the title Remove the boken/unused/unneeded $AIRGAP_CHECKSUMS_URL argument Remove the broken/unused/unneeded $AIRGAP_CHECKSUMS_URL argument Sep 11, 2021
@codecov-commenter
Copy link

Codecov Report

Merging #1805 (3437cef) into master (eb97a96) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #1805   +/-   ##
======================================
  Coverage    8.59%   8.59%           
======================================
  Files          21      21           
  Lines        1885    1885           
======================================
  Hits          162     162           
  Misses       1696    1696           
  Partials       27      27           
Flag Coverage Δ
unittests 8.59% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update eb97a96...3437cef. Read the comment docs.

Copy link
Contributor

@phillipsj phillipsj left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for the PR.

@dereknola dereknola merged commit 13791db into rancher:master Sep 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants