Procházet zdrojové kódy

Merge pull request #31472 from fate-grand-order/fixed

fix func name "BuildFromContext" in comment
Akihiro Suda před 8 roky
rodič
revize
6b615d7638
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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.
 // Backend abstracts an image builder whose only purpose is to build an image referenced by an imageID.
 type Backend interface {
 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
 	// Note: Tagging an image should not be done by a Builder, it should instead be done
 	// by the caller.
 	// by the caller.