fix func name "BuildFromContext" in comment

Signed-off-by: Helen Xie <chenjg@harmonycloud.cn>
This commit is contained in:
fate-grand-order 2017-03-02 16:58:10 +08:00
parent 1a412a0470
commit d37df06ebe

View file

@ -10,7 +10,7 @@ import (
// Backend abstracts an image builder whose only purpose is to build an image referenced by an imageID.
type Backend interface {
// Build builds a Docker image referenced by an imageID string.
// BuildFromContext builds a Docker image referenced by an imageID string.
//
// Note: Tagging an image should not be done by a Builder, it should instead be done
// by the caller.