Selaa lähdekoodia

fix func name "BuildFromContext" in comment

Signed-off-by: Helen Xie <chenjg@harmonycloud.cn>
fate-grand-order 8 vuotta sitten
vanhempi
commit
d37df06ebe
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      api/server/router/build/backend.go

+ 1 - 1
api/server/router/build/backend.go

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