1
0
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:
Marcos Lilljedahl
2016-11-22 00:07:41 -03:00
parent 3ec374ed95
commit 861355d4e3
2 changed files with 4 additions and 4 deletions

View File

@@ -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