mirror of
https://github.com/bingohuang/docker-labs.git
synced 2025-10-05 09:53:21 +08:00
Fix undetected bugs in instance renaming
This commit is contained in:
@@ -90,7 +90,7 @@ func (s *sessionWriter) Write(p []byte) (n int, err error) {
|
||||
}
|
||||
|
||||
func (o *Instance) CollectStats() {
|
||||
reader, err := GetContainerStats(o.Hostname)
|
||||
reader, err := GetContainerStats(o.Name)
|
||||
if err != nil {
|
||||
log.Println("Error while trying to collect instance stats", err)
|
||||
return
|
||||
|
Reference in New Issue
Block a user