Update the rest of the shared libs locations

This commit is contained in:
Jeff Mitchell committed 2021-07-14 17:50:15 -07:00
1 parent fccdf80161
commit ed6c59a053
16 files changed
+63 -216

No files matched your search

+3 -3
View File
@@ -19,8 +19,8 @@ import (
"github.com/hashicorp/boundary/internal/servers/worker"
"github.com/hashicorp/boundary/internal/target"
"github.com/hashicorp/boundary/internal/types/scope"
"github.com/hashicorp/go-secure-stdlib/parseutil"
"github.com/hashicorp/go-secure-stdlib/strutil"
"github.com/hashicorp/shared-secure-libs/configutil"
"github.com/mitchellh/cli"
"github.com/posener/complete"
)
@@ -489,8 +489,8 @@ func (c *Command) Run(args []string) int {
c.ShutdownFuncs = append(c.ShutdownFuncs, c.DestroyDevDatabase)
}
default:
c.DatabaseUrl, err = configutil.ParsePath(c.flagDatabaseUrl)
if err != nil && !errors.Is(err, configutil.ErrNotAUrl) {
c.DatabaseUrl, err = parseutil.ParsePath(c.flagDatabaseUrl)
if err != nil && !errors.Is(err, parseutil.ErrNotAUrl) {
c.UI.Error(fmt.Errorf("Error parsing database url: %w", err).Error())
return base.CommandUserError
}