mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-06 21:29:02 +00:00
feat: progress for removing service(s)
This commit is contained in:
1 parent
4da51636fd
commit
f209851986
4 files changed
+20
-22
No files matched your search
@@ -18,6 +18,10 @@ type Container struct {
|
||||
types.Container
|
||||
}
|
||||
|
||||
func (c *Container) Name() string {
|
||||
return c.Names[0][1:] // Remove leading slash.
|
||||
}
|
||||
|
||||
// ServiceID returns the ID of the service this container belongs to.
|
||||
func (c *Container) ServiceID() string {
|
||||
return c.Labels[LabelServiceID]
|
||||
|
||||
Reference in new issue
Block a user