Skip to content

Commit

Permalink
Merge pull request #3981 from apostasie/fix-3980
Browse files Browse the repository at this point in the history
Fix 3980
  • Loading branch information
fahedouch authored Mar 5, 2025
2 parents e79def4 + a81136c commit 8814dec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion hack/build-integration-kubernetes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ install::kubectl(){
local temp
temp="$(fs::mktemp "install")"

http::get "$temp"/kubectl "https://storage.googleapis.com/kubernetes-release/release/$version/bin/linux/${GOARCH:-amd64}/kubectl"
http::get "$temp"/kubectl "https://dl.k8s.io/release/$version/bin/linux/${GOARCH:-amd64}/kubectl"

host::install "$temp"/kubectl
}

Expand Down
5 changes: 4 additions & 1 deletion pkg/referenceutil/referenceutil.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,10 @@ func (ir *ImageReference) FamiliarName() string {
}

func (ir *ImageReference) FamiliarMatch(pattern string) (bool, error) {
return reference.FamiliarMatch(pattern, ir.nn)
if ir.nn != nil {
return reference.FamiliarMatch(pattern, ir.nn)
}
return false, nil
}

func (ir *ImageReference) String() string {
Expand Down

0 comments on commit 8814dec

Please sign in to comment.