Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Nomad
Commits
262ccbcc
Commit
262ccbcc
authored
6 years ago
by
Alex Dadgar
Browse files
Options
Download
Email Patches
Plain Diff
rename api TotalShares -> CpuShares
parent
84c9bc95
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
api/nodes.go
+2
-2
api/nodes.go
with
2 additions
and
2 deletions
+2
-2
api/nodes.go
+
2
-
2
View file @
262ccbcc
...
@@ -471,7 +471,7 @@ type NodeResources struct {
...
@@ -471,7 +471,7 @@ type NodeResources struct {
}
}
type
NodeCpuResources
struct
{
type
NodeCpuResources
struct
{
Total
Shares
int64
Cpu
Shares
int64
}
}
type
NodeMemoryResources
struct
{
type
NodeMemoryResources
struct
{
...
@@ -490,7 +490,7 @@ type NodeReservedResources struct {
...
@@ -490,7 +490,7 @@ type NodeReservedResources struct {
}
}
type
NodeReservedCpuResources
struct
{
type
NodeReservedCpuResources
struct
{
Total
Shares
uint64
Cpu
Shares
uint64
}
}
type
NodeReservedMemoryResources
struct
{
type
NodeReservedMemoryResources
struct
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help