Added ability to tie benchmark to single node. Uses offer hostname for this, maybe a better soluition would be to look at offer attributes. Added shorthand for workloads flag -w
This commit is contained in:
parent
7666167d87
commit
c4ea0321c1
2 changed files with 20 additions and 4 deletions
1
task.go
1
task.go
|
@ -14,6 +14,7 @@ type Task struct {
|
|||
Image string `json:"image"`
|
||||
CMD string `json:"cmd"`
|
||||
Instances *int `json:"inst"`
|
||||
Host string `json:"host"`
|
||||
}
|
||||
|
||||
func TasksFromJSON(uri string) ([]Task, error) {
|
||||
|
|
Reference in a new issue