Skip to content

Commit

Permalink
Update rivets to v1.0.4
Browse files Browse the repository at this point in the history
Also updated server.go to address a change in rivets.
  • Loading branch information
coffeefreak101 committed Apr 29, 2024
1 parent 7863b44 commit 6e7c846
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions cmd/list/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ func attributeParamsFromFlags(fl *listServerFlags) []fleetdbapi.AttributeListPar
alp = append(
alp,
fleetdbapi.AttributeListParams{
Namespace: rfleetdb.ServerAttributeNSVendor,
Namespace: rfleetdb.ServerVendorAttributeNS,
Keys: []string{"vendor"},
Operator: "eq",
Value: strings.ToLower(flagsListServer.vendor),
Expand All @@ -163,7 +163,7 @@ func attributeParamsFromFlags(fl *listServerFlags) []fleetdbapi.AttributeListPar
alp = append(
alp,
fleetdbapi.AttributeListParams{
Namespace: rfleetdb.ServerAttributeNSVendor,
Namespace: rfleetdb.ServerVendorAttributeNS,
Keys: []string{"model"},
Operator: "like",
Value: strings.ToLower(flagsListServer.model),
Expand All @@ -175,7 +175,7 @@ func attributeParamsFromFlags(fl *listServerFlags) []fleetdbapi.AttributeListPar
alp = append(
alp,
fleetdbapi.AttributeListParams{
Namespace: rfleetdb.ServerAttributeNSVendor,
Namespace: rfleetdb.ServerVendorAttributeNS,
Keys: []string{"serial"},
Operator: "eq",
Value: strings.ToLower(flagsListServer.serial),
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ require (
github.com/metal-toolbox/bomservice v0.1.5
github.com/metal-toolbox/conditionorc v1.0.6
github.com/metal-toolbox/fleetdb v0.17.1
github.com/metal-toolbox/rivets v1.0.2
github.com/metal-toolbox/rivets v1.0.4
github.com/nirasan/go-oauth-pkce-code-verifier v0.0.0-20220510032225-4f9f17eaec4c
github.com/olekukonko/tablewriter v0.0.5
github.com/pkg/errors v0.9.1
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -551,8 +551,8 @@ github.com/metal-toolbox/conditionorc v1.0.6 h1:SsFgAJdYaWbuJ12c9vuRlJxYfkx/AbRR
github.com/metal-toolbox/conditionorc v1.0.6/go.mod h1:KAzZINJE58V49+DsYAZ2mgFFGUJVNVPqyz20dZi4gu8=
github.com/metal-toolbox/fleetdb v0.17.1 h1:eyaCg4yGQnbXIjiBMZPsLqmEpxbltlEUNDG+Mn27Fsc=
github.com/metal-toolbox/fleetdb v0.17.1/go.mod h1:TbRbU+ppHIknqiAONR7JDQfzKij30uiPkehgxlA1Hv0=
github.com/metal-toolbox/rivets v1.0.2 h1:cdLXPcGZOw0v8BP2driAMvBTf+PF9Eua2UnUpBFyDrs=
github.com/metal-toolbox/rivets v1.0.2/go.mod h1:EMQJRT1mjIyFRXxvKNaBlz7Z4Sp88rTaGO8W18olN2I=
github.com/metal-toolbox/rivets v1.0.4 h1:BFvlYWsN+5Zb2JS+oJJBDtaQ94M5x2Llf6kmwi+Byjo=
github.com/metal-toolbox/rivets v1.0.4/go.mod h1:EMQJRT1mjIyFRXxvKNaBlz7Z4Sp88rTaGO8W18olN2I=
github.com/microsoft/go-mssqldb v0.17.0/go.mod h1:OkoNGhGEs8EZqchVTtochlXruEhEOaO4S0d2sB5aeGQ=
github.com/miekg/dns v1.1.26/go.mod h1:bPDLeHnStXmXAq1m/Ch/hvfNHr14JKNPMBo3VZKjuso=
github.com/miekg/dns v1.1.41/go.mod h1:p6aan82bvRIyn+zDIv9xYNUpwa73JcSh9BKwknJysuI=
Expand Down

0 comments on commit 6e7c846

Please sign in to comment.