Skip to content
This repository was archived by the owner on Dec 17, 2024. It is now read-only.

Commit a7aeddd

Browse files
authored
Merge pull request #13 from Blockdaemon/vanity-imports
Use go.blockdaemon.com for vanity imports
2 parents 4c083c1 + 9730f2d commit a7aeddd

File tree

14 files changed

+31
-28
lines changed

14 files changed

+31
-28
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# ?.?.?
22

3+
* Changed project location to `go.blockdaemon.com/bpm/sdk` which redirects to the actual repository
34
* Handle error when deleting node data
45

56
# 0.12.0

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/Blockdaemon/bpm-sdk
1+
module go.blockdaemon.com/bpm/sdk
22

33
go 1.12
44

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
go.blockdaemon.com/bpm/sdk v0.12.0 h1:6DHLMwfRnpRhohMPO0ipjcWdkwDMrBVC9Db0FOIHOq0=
2+
go.blockdaemon.com/bpm/sdk v0.12.0/go.mod h1:niXnYzLSlqVXnAtNcj9PI0rxnDn0OGCrg2gUzCQAPh0=
13
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
24
github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8=
35
github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE=

pkg/docker/docker.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ import (
2424
"path"
2525
"strings"
2626

27-
"github.com/Blockdaemon/bpm-sdk/pkg/node"
2827
"github.com/docker/docker/api/types"
2928
dockercontainer "github.com/docker/docker/api/types/container"
3029
"github.com/docker/docker/api/types/filters"
3130
"github.com/docker/docker/api/types/mount"
3231
"github.com/docker/docker/api/types/network"
3332
"github.com/docker/docker/client"
3433
"github.com/docker/go-connections/nat"
34+
"go.blockdaemon.com/bpm/sdk/pkg/node"
3535
)
3636

3737
type BasicManager struct {

pkg/node/node.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import (
1212
"os"
1313
"path/filepath"
1414

15-
"github.com/Blockdaemon/bpm-sdk/pkg/fileutil"
1615
homedir "github.com/mitchellh/go-homedir"
16+
"go.blockdaemon.com/bpm/sdk/pkg/fileutil"
1717
)
1818

1919
// Node represents a blockchain node, it's configuration and related information

pkg/plugin/docker_lifecycle.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ import (
1313
"text/template"
1414
"time"
1515

16-
"github.com/Blockdaemon/bpm-sdk/pkg/docker"
17-
"github.com/Blockdaemon/bpm-sdk/pkg/fileutil"
18-
"github.com/Blockdaemon/bpm-sdk/pkg/node"
19-
sdktemplate "github.com/Blockdaemon/bpm-sdk/pkg/template"
16+
"go.blockdaemon.com/bpm/sdk/pkg/docker"
17+
"go.blockdaemon.com/bpm/sdk/pkg/fileutil"
18+
"go.blockdaemon.com/bpm/sdk/pkg/node"
19+
sdktemplate "go.blockdaemon.com/bpm/sdk/pkg/template"
2020

2121
homedir "github.com/mitchellh/go-homedir"
2222
)

pkg/plugin/docker_plugin.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package plugin
22

33
import (
4-
"github.com/Blockdaemon/bpm-sdk/pkg/docker"
4+
"go.blockdaemon.com/bpm/sdk/pkg/docker"
55
)
66

77
// DockerPlugin is an implementation of the Plugin interface. It provides based functionality for a docker based plugin

pkg/plugin/docker_upgrader.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"context"
77
"time"
88

9-
"github.com/Blockdaemon/bpm-sdk/pkg/docker"
10-
"github.com/Blockdaemon/bpm-sdk/pkg/node"
9+
"go.blockdaemon.com/bpm/sdk/pkg/docker"
10+
"go.blockdaemon.com/bpm/sdk/pkg/node"
1111
)
1212

1313
// DockerUpgrader provides a default strategy for upgrading docker based nodes

pkg/plugin/dummy_tester.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package plugin
22

33
import (
4-
"github.com/Blockdaemon/bpm-sdk/pkg/node"
4+
"go.blockdaemon.com/bpm/sdk/pkg/node"
55
)
66

77
// DummyTester does nothing except panicking

pkg/plugin/file_configurator.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ import (
77
"os"
88
"path/filepath"
99

10-
"github.com/Blockdaemon/bpm-sdk/pkg/fileutil"
11-
"github.com/Blockdaemon/bpm-sdk/pkg/node"
12-
"github.com/Blockdaemon/bpm-sdk/pkg/template"
10+
"go.blockdaemon.com/bpm/sdk/pkg/fileutil"
11+
"go.blockdaemon.com/bpm/sdk/pkg/node"
12+
"go.blockdaemon.com/bpm/sdk/pkg/template"
1313
)
1414

1515
const (

0 commit comments

Comments
 (0)