Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(137)

Unified Diff: state/constraints.go

Issue 12859043: Add an os-disk constraint
Patch Set: Add an os-disk constraint Created 11 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « state/assign_test.go ('k') | state/machine.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: state/constraints.go
=== modified file 'state/constraints.go'
--- state/constraints.go 2013-07-09 10:32:23 +0000
+++ state/constraints.go 2013-08-14 17:33:09 +0000
@@ -20,6 +20,7 @@
CpuCores *uint64
CpuPower *uint64
Mem *uint64
+ RootDisk *uint64
Container *instance.ContainerType
}
@@ -29,6 +30,7 @@
CpuCores: doc.CpuCores,
CpuPower: doc.CpuPower,
Mem: doc.Mem,
+ RootDisk: doc.RootDisk,
Container: doc.Container,
}
}
@@ -39,6 +41,7 @@
CpuCores: cons.CpuCores,
CpuPower: cons.CpuPower,
Mem: cons.Mem,
+ RootDisk: cons.RootDisk,
Container: cons.Container,
}
}
« no previous file with comments | « state/assign_test.go ('k') | state/machine.go » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b