Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

chore: update Go toolchain to v1.16.3 #4385

Merged
merged 1 commit into from
Apr 27, 2021

Conversation

mboersma
Copy link
Member

Reason for Change:

See https://github.com/deis/docker-go-dev/releases/tag/v1.31.0

Issue Fixed:

Credit Where Due:

Does this change contain code from or inspired by another project?

  • No
  • Yes

Requirements:

Notes:

This fixes two new warnings emitted by shellcheck:

https://www.shellcheck.net/wiki/SC2269 -- This variable is assigned to itself
https://www.shellcheck.net/wiki/SC2268 -- Avoid x-prefix in comparisons

@codecov
Copy link

codecov bot commented Apr 26, 2021

Codecov Report

Merging #4385 (119a875) into master (60828c7) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #4385   +/-   ##
=======================================
  Coverage   72.04%   72.04%           
=======================================
  Files         141      141           
  Lines       21631    21631           
=======================================
  Hits        15584    15584           
  Misses       5096     5096           
  Partials      951      951           
Impacted Files Coverage Δ
pkg/api/common/versions.go 96.37% <ø> (ø)
pkg/engine/templates_generated.go 43.31% <ø> (ø)

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 b6d36c2...119a875. Read the comment docs.

@@ -79,7 +79,7 @@ checkDesiredVersion() {
elif type "wget" > /dev/null; then
TAG=$(wget -q -O - $release_url | awk '/\/tag\//' | grep -v no-underline | grep "<a href=\"/Azure/aks-engine/releases" | head -n 1 | cut -d '"' -f 2 | awk '{n=split($NF,a,"/");print a[n]}' | awk 'a !~ $0{print}; {a=$0}')
fi
if [ "x$TAG" == "x" ]; then
Copy link
Member

Choose a reason for hiding this comment

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

sneaking this one in? :)

Copy link
Member Author

Choose a reason for hiding this comment

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

This release of docker-go-dev also bumped shellcheck and it had new two new complaints which I fixed. This one is SC2268, which was a workaround for ancient, non-POSIX-compliant shells that it suggests is just confusing today.

Copy link
Member

Choose a reason for hiding this comment

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

Well I lived long enough to see shellcheck take one for the team in the interest of practicality.

@@ -159,8 +159,6 @@ else
SKIP_AFTER_UPGRADE="${SKIP_AFTER_SCALE_DOWN}|${SKIP_AFTER_UPGRADE}"
elif [ "${SCALE_CLUSTER}" = "true" ]; then
SKIP_AFTER_UPGRADE="${SKIP_AFTER_SCALE_DOWN}"
else
Copy link
Member

Choose a reason for hiding this comment

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

I see what you did here

Copy link
Member Author

Choose a reason for hiding this comment

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

This is SC2269: "This variable is assigned to itself, so the assignment does nothing."

Copy link
Member

@jackfrancis jackfrancis left a comment

Choose a reason for hiding this comment

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

/lgtm

@jackfrancis jackfrancis merged commit b5b7bfa into Azure:master Apr 27, 2021
@acs-bot
Copy link

acs-bot commented Apr 27, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jackfrancis, mboersma

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [jackfrancis,mboersma]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@mboersma mboersma deleted the bump-toolchain branch April 27, 2021 21:15
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.

3 participants