Skip to content

Commit

Permalink
refactor(common): move inventory to separate folder
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Sanders <[email protected]>
  • Loading branch information
sandersms authored and glimchb committed Oct 16, 2023
1 parent bd4d96f commit 4f8fc27
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"net/http"
"time"

pc "github.com/opiproject/opi-api/common/v1/gen/go"
pc "github.com/opiproject/opi-api/inventory/v1/gen/go"
"github.com/opiproject/opi-smbios-bridge/pkg/inventory"

"google.golang.org/grpc"
Expand Down
2 changes: 1 addition & 1 deletion pkg/inventory/inventory.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"log"

"github.com/jaypipes/ghw"
pc "github.com/opiproject/opi-api/common/v1/gen/go"
pc "github.com/opiproject/opi-api/inventory/v1/gen/go"
)

// Server contains inventory related OPI services
Expand Down
2 changes: 1 addition & 1 deletion pkg/inventory/inventory_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"google.golang.org/grpc/status"
"google.golang.org/grpc/test/bufconn"

pc "github.com/opiproject/opi-api/common/v1/gen/go"
pc "github.com/opiproject/opi-api/inventory/v1/gen/go"
)

func dialer() func(context.Context, string) (net.Conn, error) {
Expand Down

0 comments on commit 4f8fc27

Please sign in to comment.