Skip to content
This repository was archived by the owner on Jun 23, 2020. It is now read-only.

Commit 88e1e42

Browse files
authored
Fix #67. Add support for LHR region uk-london-1 (#68)
* Adds support for LHR region uk-london-1 * Upgrade to v1.0.0 of oci-go-sdk
1 parent 5a5660d commit 88e1e42

File tree

597 files changed

+3707
-5997
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

597 files changed

+3707
-5997
lines changed

Gopkg.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Gopkg.toml

Lines changed: 7 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,15 @@
1-
2-
# Gopkg.toml example
3-
#
4-
# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md
5-
# for detailed Gopkg.toml documentation.
6-
#
7-
# required = ["github.com/user/thing/cmd/thing"]
8-
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
9-
#
10-
# [[constraint]]
11-
# name = "github.com/user/project"
12-
# version = "1.0.0"
13-
#
14-
# [[constraint]]
15-
# name = "github.com/user/project2"
16-
# branch = "dev"
17-
# source = "github.com/myfork/project2"
18-
#
19-
# [[override]]
20-
# name = "github.com/x/y"
21-
# version = "2.4.0"
22-
23-
241
[[constraint]]
25-
branch = "master"
262
name = "k8s.io/utils"
3+
branch = "master"
274

285
[[constraint]]
29-
branch = "master"
306
name = "k8s.io/apimachinery"
7+
branch = "master"
318

329
[[constraint]]
33-
branch = "v2"
3410
name = "gopkg.in/yaml.v2"
11+
branch = "v2"
12+
13+
[[constraint]]
14+
name = "github.com/oracle/oci-go-sdk"
15+
version = "v1.0.0"

pkg/oci/client/config.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ var ociRegions = map[string]string{
3232
"phx": "us-phoenix-1",
3333
"iad": "us-ashburn-1",
3434
"fra": "eu-frankfurt-1",
35+
"lhr": "uk-london-1",
3536
}
3637

3738
// AuthConfig holds the configuration required for communicating with the OCI

pkg/oci/client/oci.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,8 @@ func (c *client) DetachVolume(volumeAttachmentId string) error {
406406
err := func() error {
407407
ctx, cancel := context.WithTimeout(c.ctx, c.timeout)
408408
defer cancel()
409-
return c.compute.DetachVolume(ctx, request)
409+
_, err := c.compute.DetachVolume(ctx, request)
410+
return err
410411
}()
411412
if err != nil {
412413
return err

vendor/github.com/oracle/oci-go-sdk/.gitignore

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/oracle/oci-go-sdk/CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/oracle/oci-go-sdk/CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/oracle/oci-go-sdk/LICENSE.txt

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/oracle/oci-go-sdk/Makefile

Lines changed: 5 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/oracle/oci-go-sdk/README.md

Lines changed: 127 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)