Skip to content

Commit 8814dec

Browse files
authored
Merge pull request #3981 from apostasie/fix-3980
Fix 3980
2 parents e79def4 + a81136c commit 8814dec

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

hack/build-integration-kubernetes.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ install::kubectl(){
5050
local temp
5151
temp="$(fs::mktemp "install")"
5252

53-
http::get "$temp"/kubectl "https://storage.googleapis.com/kubernetes-release/release/$version/bin/linux/${GOARCH:-amd64}/kubectl"
53+
http::get "$temp"/kubectl "https://dl.k8s.io/release/$version/bin/linux/${GOARCH:-amd64}/kubectl"
54+
5455
host::install "$temp"/kubectl
5556
}
5657

pkg/referenceutil/referenceutil.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,10 @@ func (ir *ImageReference) FamiliarName() string {
6565
}
6666

6767
func (ir *ImageReference) FamiliarMatch(pattern string) (bool, error) {
68-
return reference.FamiliarMatch(pattern, ir.nn)
68+
if ir.nn != nil {
69+
return reference.FamiliarMatch(pattern, ir.nn)
70+
}
71+
return false, nil
6972
}
7073

7174
func (ir *ImageReference) String() string {

0 commit comments

Comments
 (0)