File tree Expand file tree Collapse file tree 8 files changed +12
-8
lines changed Expand file tree Collapse file tree 8 files changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,9 @@ import (
1818 "fmt"
1919 "os"
2020
21+ "context"
22+
2123 "github.com/spf13/cobra"
22- "golang.org/x/net/context"
2324)
2425
2526var (
Original file line number Diff line number Diff line change 1515package gcloud
1616
1717import (
18+ "context"
19+
1820 "github.com/coreos/coreos-assembler/mantle/platform/api/gcloud"
1921 "github.com/spf13/cobra"
20- "golang.org/x/net/context"
2122)
2223
2324var (
Original file line number Diff line number Diff line change @@ -22,8 +22,9 @@ import (
2222 "strings"
2323 "time"
2424
25+ "context"
26+
2527 "golang.org/x/crypto/ssh"
26- "golang.org/x/net/context"
2728
2829 "github.com/coreos/coreos-assembler/mantle/kola"
2930 "github.com/coreos/coreos-assembler/mantle/kola/cluster"
Original file line number Diff line number Diff line change @@ -24,8 +24,9 @@ import (
2424 "strings"
2525 "time"
2626
27+ "context"
28+
2729 "golang.org/x/crypto/ssh"
28- "golang.org/x/net/context"
2930
3031 "github.com/coreos/coreos-assembler/mantle/kola/cluster"
3132 "github.com/coreos/coreos-assembler/mantle/kola/register"
Original file line number Diff line number Diff line change 1515package worker
1616
1717import (
18+ "context"
1819 "sync"
1920
2021 "github.com/coreos/pkg/multierror"
21- "golang.org/x/net/context"
2222)
2323
2424// Worker is a function that WorkerGroup will run in a new goroutine.
Original file line number Diff line number Diff line change 1515package worker
1616
1717import (
18- "golang.org/x/net/ context"
18+ "context"
1919)
2020
2121// Parallel executes a set of Workers and waits for them to finish.
Original file line number Diff line number Diff line change 1515package gcloud
1616
1717import (
18+ "context"
1819 "fmt"
1920 "runtime"
2021 "strings"
2122
22- "golang.org/x/net/context"
2323 "google.golang.org/api/compute/v1"
2424)
2525
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ package platform
1616
1717import (
1818 "bytes"
19+ "context"
1920 "encoding/json"
2021 "fmt"
2122 "io"
@@ -30,7 +31,6 @@ import (
3031 "github.com/kballard/go-shellquote"
3132 "github.com/pkg/errors"
3233 "golang.org/x/crypto/ssh"
33- "golang.org/x/net/context"
3434
3535 "github.com/coreos/coreos-assembler/mantle/platform/conf"
3636 "github.com/coreos/coreos-assembler/mantle/util"
You can’t perform that action at this time.
0 commit comments