Add support for file editor

This commit is contained in:
marcos
2018-01-05 13:13:07 -03:00
parent f564f1fd28
commit 386bd87385
32 changed files with 621 additions and 93 deletions

View File

@@ -91,7 +91,7 @@ func (t *collectStats) Run(ctx context.Context, instance *types.Instance) error
log.Println(err)
return err
}
reader, err := dockerClient.GetContainerStats(instance.Name)
reader, err := dockerClient.ContainerStats(instance.Name)
if err != nil {
log.Println("Error while trying to collect instance stats", err)
return err