Browse code

fix func name "BuildFromContext" in comment

Signed-off-by: Helen Xie <chenjg@harmonycloud.cn>

fate-grand-order authored on 2017/03/02 17:58:10
Showing 1 changed files
... ...
@@ -10,7 +10,7 @@ import (
10 10
 
11 11
 // Backend abstracts an image builder whose only purpose is to build an image referenced by an imageID.
12 12
 type Backend interface {
13
-	// Build builds a Docker image referenced by an imageID string.
13
+	// BuildFromContext builds a Docker image referenced by an imageID string.
14 14
 	//
15 15
 	// Note: Tagging an image should not be done by a Builder, it should instead be done
16 16
 	// by the caller.