Skip to content

Commit

Permalink
Merge pull request kubernetes-csi#71 from xing-yang/update_vendor_files
Browse files Browse the repository at this point in the history
Update vendor files to point to kubernetes-1.12.0-beta.1
  • Loading branch information
k8s-ci-robot authored Sep 18, 2018
2 parents 6ff7c80 + 025fb31 commit 4ca8246
Show file tree
Hide file tree
Showing 1,173 changed files with 96,085 additions and 23,204 deletions.
229 changes: 201 additions & 28 deletions Gopkg.lock

Large diffs are not rendered by default.

10 changes: 7 additions & 3 deletions Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,16 @@

[[constraint]]
name = "k8s.io/api"
version = "kubernetes-1.10.0-beta.1"
version = "kubernetes-1.12.0-beta.1"

[[constraint]]
name = "k8s.io/apimachinery"
version = "kubernetes-1.10.0-beta.1"
version = "kubernetes-1.12.0-beta.1"

[[constraint]]
name = "k8s.io/client-go"
branch = "master"
version = "kubernetes-1.12.0-beta.1"

[[override]]
name = "github.com/json-iterator/go"
version = "1.1.4"
5 changes: 3 additions & 2 deletions cmd/csi-attacher/leader.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ limitations under the License.
package main

import (
"context"
"fmt"
"os"
"time"
Expand Down Expand Up @@ -62,7 +63,7 @@ func waitForLeader(clientset *kubernetes.Clientset, namespace string, identity s
RenewDeadline: renewDeadline,
RetryPeriod: retryPeriod,
Callbacks: leaderelection.LeaderCallbacks{
OnStartedLeading: func(stop <-chan struct{}) {
OnStartedLeading: func(ctx context.Context) {
glog.V(2).Info("Became leader, starting")
close(elected)
},
Expand All @@ -76,7 +77,7 @@ func waitForLeader(clientset *kubernetes.Clientset, namespace string, identity s
},
}

go leaderelection.RunOrDie(leaderConfig)
go leaderelection.RunOrDie(context.TODO(), leaderConfig)

// wait for being elected
<-elected
Expand Down
1 change: 1 addition & 0 deletions vendor/github.com/google/btree/.travis.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

202 changes: 202 additions & 0 deletions vendor/github.com/google/btree/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions vendor/github.com/google/btree/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 4ca8246

Please sign in to comment.