Skip to content

Commit

Permalink
use latest core
Browse files Browse the repository at this point in the history
  • Loading branch information
CMGS committed May 26, 2023
1 parent bf957d4 commit 02ca347
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmd/node/add.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ func generateAddNodeOptions(c *cli.Context) (*corepb.AddNodeOptions, error) {
storage := resourcetypes.RawParams{}

if c.IsSet("cpu") {
cpumem["cpu"] = c.String("cpu")
cpumem["cpu"] = c.Int64("cpu")
}
if c.IsSet("share") {
cpumem["share"] = c.String("share")
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ require (
github.com/jedib0t/go-pretty/v6 v6.4.6
github.com/juju/errors v1.0.0
github.com/pkg/term v1.1.0
github.com/projecteru2/core v0.0.0-20230515031536-7fdaea78417e
github.com/projecteru2/core v0.0.0-20230526065243-b1236429a119
github.com/sethgrid/curse v0.0.0-20181231162520-d4ee583ebf0f
github.com/sethvargo/go-signalcontext v0.2.1
github.com/sirupsen/logrus v1.9.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,8 @@ github.com/pkg/term v1.1.0 h1:xIAAdCMh3QIAy+5FrE8Ad8XoDhEU4ufwbaSozViP9kk=
github.com/pkg/term v1.1.0/go.mod h1:E25nymQcrSllhX42Ok8MRm1+hyBdHY0dCeiKZ9jpNGw=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/projecteru2/core v0.0.0-20230515031536-7fdaea78417e h1:7gx3ZANhgXc3yPjecJi/dPhZrOh3LGjn8SI/VK4siQY=
github.com/projecteru2/core v0.0.0-20230515031536-7fdaea78417e/go.mod h1:H7AOnfGM0xI7hYMLG8JpqRVCI+flEX2w/Ro29zSwrQw=
github.com/projecteru2/core v0.0.0-20230526065243-b1236429a119 h1:mqbDvVkoTBnEiw9ZHfZUlGiSZJdr9WBainir0r50C1k=
github.com/projecteru2/core v0.0.0-20230526065243-b1236429a119/go.mod h1:jv+iO2nWa734WHH3WfBFhMgBvWyCQa/VjQCS5dz/6uI=
github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw=
github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo=
github.com/prometheus/client_golang v1.1.0/go.mod h1:I1FGZT9+L76gKKOs5djB6ezCbFQP1xR9D75/vuwEF3g=
Expand Down

0 comments on commit 02ca347

Please sign in to comment.