mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-08 06:09:17 +00:00
feat(replicas): support --replicas and --machines for run command
This commit is contained in:
1 parent
6bb9bdeb5a
commit
9642863d7b
8 files changed
+87
-147
No files matched your search
@@ -21,6 +21,7 @@ type Container struct {
|
||||
}
|
||||
|
||||
// NameWithoutSlash returns the container name without the leading slash.
|
||||
// TODO: modify Name in original ContainerJSON structure when inspecting a Docker container and get rid of this method.
|
||||
func (c *Container) NameWithoutSlash() string {
|
||||
return c.Name[1:]
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user