Skip to content

Commit

Permalink
replacing redfish import with rf import
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlovelltroy committed Nov 1, 2023
1 parent d4fc2cd commit a5f6694
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion cmd/smd/components.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (

base "github.com/Cray-HPE/hms-base"
"github.com/OpenCHAMI/smd/v2/internal/hmsds"
rf "github.com/OpenCHAMI/smd/v2/pkg/redfish"
"github.com/OpenCHAMI/smd/v2/pkg/rf"
)

////////////////////////////////////////////////////////////////////////////
Expand Down
2 changes: 1 addition & 1 deletion cmd/smd/discover.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (

base "github.com/Cray-HPE/hms-base"
compcreds "github.com/Cray-HPE/hms-compcredentials"
rf "github.com/OpenCHAMI/smd/v2/pkg/redfish"
"github.com/OpenCHAMI/smd/v2/pkg/rf"
"github.com/OpenCHAMI/smd/v2/pkg/sm"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/smd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ import (
"github.com/OpenCHAMI/smd/v2/internal/hmsds"
"github.com/OpenCHAMI/smd/v2/internal/pgmigrate"
"github.com/OpenCHAMI/smd/v2/internal/slsapi"
rf "github.com/OpenCHAMI/smd/v2/pkg/redfish"
"github.com/OpenCHAMI/smd/v2/pkg/rf"
"github.com/OpenCHAMI/smd/v2/pkg/sm"
"github.com/gorilla/mux"
"github.com/hashicorp/go-retryablehttp"
Expand Down
2 changes: 1 addition & 1 deletion cmd/smd/rfevent.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (

base "github.com/Cray-HPE/hms-base"
"github.com/OpenCHAMI/smd/v2/internal/hmsds"
rf "github.com/OpenCHAMI/smd/v2/pkg/redfish"
"github.com/OpenCHAMI/smd/v2/pkg/rf"
"github.com/OpenCHAMI/smd/v2/pkg/sm"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/smd/rfevent_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import (
compcreds "github.com/Cray-HPE/hms-compcredentials"
sstorage "github.com/Cray-HPE/hms-securestorage"
"github.com/OpenCHAMI/smd/v2/internal/hmsds"
rf "github.com/OpenCHAMI/smd/v2/pkg/redfish"
"github.com/OpenCHAMI/smd/v2/pkg/rf"
st "github.com/OpenCHAMI/smd/v2/pkg/sharedtest"
"github.com/OpenCHAMI/smd/v2/pkg/sm"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/smd/smd-api.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import (
base "github.com/Cray-HPE/hms-base"
compcreds "github.com/Cray-HPE/hms-compcredentials"
"github.com/OpenCHAMI/smd/v2/internal/hmsds"
rf "github.com/OpenCHAMI/smd/v2/pkg/redfish"
"github.com/OpenCHAMI/smd/v2/pkg/rf"
"github.com/OpenCHAMI/smd/v2/pkg/sm"

"github.com/gorilla/mux"
Expand Down
2 changes: 1 addition & 1 deletion cmd/smd/smd-api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import (
compcreds "github.com/Cray-HPE/hms-compcredentials"
sstorage "github.com/Cray-HPE/hms-securestorage"
"github.com/OpenCHAMI/smd/v2/internal/hmsds"
rf "github.com/OpenCHAMI/smd/v2/pkg/redfish"
"github.com/OpenCHAMI/smd/v2/pkg/rf"
stest "github.com/OpenCHAMI/smd/v2/pkg/sharedtest"
"github.com/OpenCHAMI/smd/v2/pkg/sm"

Expand Down
2 changes: 1 addition & 1 deletion cmd/smd/state-change.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (

base "github.com/Cray-HPE/hms-base"
"github.com/OpenCHAMI/smd/v2/internal/hmsds"
rf "github.com/OpenCHAMI/smd/v2/pkg/redfish"
"github.com/OpenCHAMI/smd/v2/pkg/rf"
"github.com/OpenCHAMI/smd/v2/pkg/sm"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/hmsds/hmsds-postgres.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import (
"time"

base "github.com/Cray-HPE/hms-base"
rf "github.com/OpenCHAMI/smd/v2/pkg/redfish"
"github.com/OpenCHAMI/smd/v2/pkg/rf"
"github.com/OpenCHAMI/smd/v2/pkg/sm"

sq "github.com/Masterminds/squirrel"
Expand Down
2 changes: 1 addition & 1 deletion internal/hmsds/hmsds-postgres_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import (
"time"

base "github.com/Cray-HPE/hms-base"
rf "github.com/OpenCHAMI/smd/v2/pkg/redfish"
"github.com/OpenCHAMI/smd/v2/pkg/rf"
stest "github.com/OpenCHAMI/smd/v2/pkg/sharedtest"
"github.com/OpenCHAMI/smd/v2/pkg/sm"

Expand Down
2 changes: 1 addition & 1 deletion pkg/sharedtest/endpoints-examples.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ package sharedtest
import (
"encoding/json"

rf "github.com/OpenCHAMI/smd/v2/pkg/redfish"
"github.com/OpenCHAMI/smd/v2/pkg/rf"
"github.com/OpenCHAMI/smd/v2/pkg/sm"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/sm/endpoints.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"encoding/json"

base "github.com/Cray-HPE/hms-base"
rf "github.com/OpenCHAMI/smd/v2/pkg/redfish"
"github.com/OpenCHAMI/smd/v2/pkg/rf"
)

// This is a generic link to a resource owned by state manager, i.e. a
Expand Down
2 changes: 1 addition & 1 deletion pkg/sm/hwinv.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
"strconv"

base "github.com/Cray-HPE/hms-base"
rf "github.com/OpenCHAMI/smd/v2/pkg/redfish"
"github.com/OpenCHAMI/smd/v2/pkg/rf"
)

var ErrHWLocInvalid = base.NewHMSError("sm", "ID is empty or not a valid xname")
Expand Down

0 comments on commit a5f6694

Please sign in to comment.