Skip to content

Commit e32bcc4

Browse files
committed
Update module path.
1 parent 8cbb28d commit e32bcc4

7 files changed

Lines changed: 20 additions & 15 deletions

File tree

cmd/pm/integ_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,13 @@ import (
99
"os"
1010
"os/exec"
1111
"path/filepath"
12-
"plugin-manager/config"
1312
"reflect"
1413
"strconv"
1514
"strings"
1615
"testing"
1716

17+
"github.com/VeritasOS/plugin-manager/config"
18+
1819
yaml "gopkg.in/yaml.v2"
1920
)
2021

cmd/pm/pm.go

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ import (
88
"log"
99
"os"
1010
"path/filepath"
11-
pm "plugin-manager"
12-
"plugin-manager/config"
13-
logutil "plugin-manager/utils/log"
11+
12+
pm "github.com/VeritasOS/plugin-manager"
13+
"github.com/VeritasOS/plugin-manager/config"
14+
logutil "github.com/VeritasOS/plugin-manager/utils/log"
1415
)
1516

1617
var (
@@ -25,9 +26,9 @@ func init() {
2526
// EnvConfFile is environment variable containing PluginManager config file path.
2627
config.EnvConfFile = "PM_CONF_FILE"
2728
// DefaultConfigPath is default path for config file used when EnvConfFile is not set.
28-
config.DefaultConfigPath = "/etc/asum/pm.config.yaml"
29+
config.DefaultConfigPath = "/etc/pm.config.yaml"
2930
// DefaultLogPath is default path for log file.
30-
config.DefaultLogPath = "/log/asum/pm"
31+
config.DefaultLogPath = "/var/log/pm"
3132

3233
// INFO: Use DefaultLogPath when it's available (until the config file is read).
3334
// If not, use basename of file.

config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010

1111
"gopkg.in/yaml.v2"
1212

13-
logutil "plugin-manager/utils/log"
13+
logutil "github.com/VeritasOS/plugin-manager/utils/log"
1414
)
1515

1616
// Config is Plugin Manager's configuration information.

graph.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ import (
1313
"sync"
1414
"time"
1515

16-
"plugin-manager/config"
17-
osutils "plugin-manager/utils/os"
16+
"github.com/VeritasOS/plugin-manager/config"
17+
osutils "github.com/VeritasOS/plugin-manager/utils/os"
1818
)
1919

2020
// graph of plugin and its dependencies.

graph_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ package pm
33

44
import (
55
"os"
6-
"plugin-manager/config"
76
"reflect"
87
"sort"
98
"testing"
9+
10+
"github.com/VeritasOS/plugin-manager/config"
1011
)
1112

1213
func Test_getStatusColor(t *testing.T) {

plugin.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,15 @@ import (
1414
"os/exec"
1515
"path"
1616
"path/filepath"
17-
"plugin-manager/config"
18-
logutil "plugin-manager/utils/log"
19-
osutils "plugin-manager/utils/os"
20-
"plugin-manager/utils/output"
2117
"regexp"
2218
"sort"
2319
"strings"
2420
"time"
21+
22+
"github.com/VeritasOS/plugin-manager/config"
23+
logutil "github.com/VeritasOS/plugin-manager/utils/log"
24+
osutils "github.com/VeritasOS/plugin-manager/utils/os"
25+
"github.com/VeritasOS/plugin-manager/utils/output"
2526
)
2627

2728
var (

plugin_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ import (
66
"fmt"
77
"os"
88
"path/filepath"
9-
"plugin-manager/config"
109
"reflect"
1110
"testing"
11+
12+
"github.com/VeritasOS/plugin-manager/config"
1213
)
1314

1415
func Test_getPluginFiles(t *testing.T) {

0 commit comments

Comments
 (0)