Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/smd-rfe-add.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"fmt"
"os"

"github.com/openchami/schemas/schemas/csm"
"github.com/openchami/smd/pkg/schemas/schemas/csm"

Check failure on line 10 in cmd/smd-rfe-add.go

View workflow job for this annotation

GitHub Actions / unit_tests

github.com/openchami/smd/pkg/schemas@v0.0.0-20240826142248-37b8af32208a: invalid version: unknown revision 37b8af32208a

Check failure on line 10 in cmd/smd-rfe-add.go

View workflow job for this annotation

GitHub Actions / unit_tests

github.com/openchami/smd/pkg/schemas@v0.0.0-20240826142248-37b8af32208a: invalid version: unknown revision 37b8af32208a

Check failure on line 10 in cmd/smd-rfe-add.go

View workflow job for this annotation

GitHub Actions / build-make

github.com/openchami/smd/pkg/schemas@v0.0.0-20240826142248-37b8af32208a: invalid version: unknown revision 37b8af32208a
"github.com/spf13/cobra"

"github.com/OpenCHAMI/ochami/internal/log"
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ require (
github.com/knadh/koanf/v2 v2.1.2
github.com/lestrrat-go/jwx v1.2.30
github.com/nikolalohinski/gonja v1.5.3
github.com/openchami/schemas v0.0.0-20240826142248-37b8af32208a
github.com/openchami/smd/pkg/schemas v0.0.0-20240826142248-37b8af32208a
github.com/rs/zerolog v1.34.0
github.com/spf13/cobra v1.9.1
github.com/synackd/go-kargs v0.0.1-beta.1
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@ github.com/nikolalohinski/gonja v1.5.3/go.mod h1:RmjwxNiXAEqcq1HeK5SSMmqFJvKOfTf
github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
github.com/onsi/ginkgo v1.8.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
github.com/onsi/gomega v1.5.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY=
github.com/openchami/schemas v0.0.0-20240826142248-37b8af32208a h1:iAN40nKkCzegDri4Sjay48HaehOcqYBgioODmRL9wtw=
github.com/openchami/schemas v0.0.0-20240826142248-37b8af32208a/go.mod h1:3dridLqXvAdO0ypPXuxnXRgaK2h/dItVKGseCgFQ13k=
github.com/openchami/smd/pkg/schemas v0.0.0-20240826142248-37b8af32208a h1:iAN40nKkCzegDri4Sjay48HaehOcqYBgioODmRL9wtw=
github.com/openchami/smd/pkg/schemas v0.0.0-20240826142248-37b8af32208a/go.mod h1:3dridLqXvAdO0ypPXuxnXRgaK2h/dItVKGseCgFQ13k=
github.com/pelletier/go-toml/v2 v2.2.3 h1:YmeHyLY8mFWbdkNWwpr+qIL2bEqT0o95WSdkNHvL12M=
github.com/pelletier/go-toml/v2 v2.2.3/go.mod h1:MfCQTFTvCcUyyvvwm1+G6H/jORL20Xlb6rzQu9GuUkc=
github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA=
Expand Down
4 changes: 2 additions & 2 deletions pkg/client/smd/smd.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"net/url"
"strings"

"github.com/openchami/schemas/schemas"
"github.com/openchami/schemas/schemas/csm"
"github.com/openchami/smd/pkg/schemas"

Check failure on line 9 in pkg/client/smd/smd.go

View workflow job for this annotation

GitHub Actions / unit_tests

github.com/openchami/smd/pkg/schemas@v0.0.0-20240826142248-37b8af32208a: invalid version: unknown revision 37b8af32208a

Check failure on line 9 in pkg/client/smd/smd.go

View workflow job for this annotation

GitHub Actions / unit_tests

github.com/openchami/smd/pkg/schemas@v0.0.0-20240826142248-37b8af32208a: invalid version: unknown revision 37b8af32208a

Check failure on line 9 in pkg/client/smd/smd.go

View workflow job for this annotation

GitHub Actions / unit_tests

github.com/openchami/smd/pkg/schemas@v0.0.0-20240826142248-37b8af32208a: invalid version: unknown revision 37b8af32208a

Check failure on line 9 in pkg/client/smd/smd.go

View workflow job for this annotation

GitHub Actions / unit_tests

github.com/openchami/smd/pkg/schemas@v0.0.0-20240826142248-37b8af32208a: invalid version: unknown revision 37b8af32208a

Check failure on line 9 in pkg/client/smd/smd.go

View workflow job for this annotation

GitHub Actions / build-make

github.com/openchami/smd/pkg/schemas@v0.0.0-20240826142248-37b8af32208a: invalid version: unknown revision 37b8af32208a
"github.com/openchami/smd/pkg/schemas/csm"

Check failure on line 10 in pkg/client/smd/smd.go

View workflow job for this annotation

GitHub Actions / unit_tests

github.com/openchami/smd/pkg/schemas@v0.0.0-20240826142248-37b8af32208a: invalid version: unknown revision 37b8af32208a

Check failure on line 10 in pkg/client/smd/smd.go

View workflow job for this annotation

GitHub Actions / unit_tests

github.com/openchami/smd/pkg/schemas@v0.0.0-20240826142248-37b8af32208a: invalid version: unknown revision 37b8af32208a

Check failure on line 10 in pkg/client/smd/smd.go

View workflow job for this annotation

GitHub Actions / unit_tests

github.com/openchami/smd/pkg/schemas@v0.0.0-20240826142248-37b8af32208a: invalid version: unknown revision 37b8af32208a

Check failure on line 10 in pkg/client/smd/smd.go

View workflow job for this annotation

GitHub Actions / unit_tests

github.com/openchami/smd/pkg/schemas@v0.0.0-20240826142248-37b8af32208a: invalid version: unknown revision 37b8af32208a

Check failure on line 10 in pkg/client/smd/smd.go

View workflow job for this annotation

GitHub Actions / build-make

github.com/openchami/smd/pkg/schemas@v0.0.0-20240826142248-37b8af32208a: invalid version: unknown revision 37b8af32208a

"github.com/OpenCHAMI/ochami/internal/log"
"github.com/OpenCHAMI/ochami/pkg/client"
Expand Down Expand Up @@ -757,15 +757,15 @@
for _, rfe := range rfes.RedfishEndpoints {
var body client.HTTPBody
var err error
if rfe.ID == "" {

Check failure on line 760 in pkg/client/smd/smd.go

View workflow job for this annotation

GitHub Actions / lint

rfe.ID undefined (type RedfishEndpointV2 has no field or method ID) (typecheck)
newErr := fmt.Errorf("PutRedfishEndpointsV2(): unable to update redfish endpoint with blank ID")
henvs = append(henvs, client.HTTPEnvelope{})
errors = append(errors, newErr)
continue
}
xnamePath, err := url.JoinPath(SMDRelpathRedfishEndpoints, rfe.ID)

Check failure on line 766 in pkg/client/smd/smd.go

View workflow job for this annotation

GitHub Actions / lint

rfe.ID undefined (type RedfishEndpointV2 has no field or method ID) (typecheck)
if err != nil {
newErr := fmt.Errorf("PutRedfishEndpointsV2(): failed to join redfish endpoint path (%s) with xname (%s): %w", SMDRelpathRedfishEndpoints, rfe.ID, err)

Check failure on line 768 in pkg/client/smd/smd.go

View workflow job for this annotation

GitHub Actions / lint

rfe.ID undefined (type RedfishEndpointV2 has no field or method ID) (typecheck)
henvs = append(henvs, client.HTTPEnvelope{})
errors = append(errors, newErr)
continue
Expand Down
2 changes: 1 addition & 1 deletion pkg/discover/discover.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"net/url"

"github.com/google/uuid"
"github.com/openchami/schemas/schemas"
"github.com/openchami/smd/pkg/schemas"

"github.com/OpenCHAMI/ochami/internal/log"
"github.com/OpenCHAMI/ochami/pkg/client/smd"
Expand Down
2 changes: 1 addition & 1 deletion pkg/discover/discover_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"testing"

"github.com/google/uuid"
"github.com/openchami/schemas/schemas"
"github.com/openchami/smd/pkg/schemas"
)

func TestNodeList_String(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/xname/xname.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package xname
import (
"fmt"

"github.com/openchami/schemas/schemas/csm"
"github.com/openchami/smd/pkg/schemas/csm"
)

func XNameComponentsToString(x csm.XNameComponents) string {
Expand Down
2 changes: 1 addition & 1 deletion pkg/xname/xname_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"reflect"
"testing"

"github.com/openchami/schemas/schemas/csm"
"github.com/openchami/smd/pkg/schemas/schemas/csm"
)

func TestXNameComponentsToString(t *testing.T) {
Expand Down
Loading