File git-upstream.patch of Package kubernetes
diff --git a/hack/lib/util.sh b/hack/lib/util.sh
index 6a0386a..30d97be 100755
--- a/hack/lib/util.sh
+++ b/hack/lib/util.sh
@@ -406,9 +406,7 @@ kube::util::fetch-swagger-spec() {
# Returns the name of the upstream remote repository name for the local git
# repo, e.g. "upstream" or "origin".
kube::util::git_upstream_remote_name() {
- git remote -v | grep fetch |\
- grep -E 'github.com[/:]kubernetes/kubernetes|k8s.io/kubernetes' |\
- head -n 1 | awk '{print $1}'
+ echo origin
}
# Checks whether godep restore was run in the current GOPATH, i.e. that all referenced repos exist