mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 19:13:34 +00:00
feat: progress for removing service(s)
This commit is contained in:
@@ -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