Skip to content

Commit

Permalink
add ERU_MEMORY
Browse files Browse the repository at this point in the history
  • Loading branch information
timfeirg committed Jul 1, 2017
1 parent f446ea1 commit fbe70d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.7.33
0.7.34
1 change: 1 addition & 0 deletions cluster/calcium/create_container.go
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,7 @@ func (c *calcium) makeContainerOptions(index int, quota map[string]int, specs ty
env = append(env, fmt.Sprintf("ERU_ZONE=%s", c.config.Zone))
env = append(env, fmt.Sprintf("APPDIR=%s", filepath.Join(c.config.AppDir, specs.Appname)))
env = append(env, fmt.Sprintf("ERU_CONTAINER_NO=%d", index))
env = append(env, fmt.Sprintf("ERU_MEMORY=%d", opts.Memory))

// mount paths
binds, volumes := makeMountPaths(specs, c.config)
Expand Down

0 comments on commit fbe70d4

Please sign in to comment.