瀏覽代碼

doc: update Config() comment in API Service interface (#10840)

Update Config comment in Service interface

Signed-off-by: Praful Gupta <[email protected]>
Praful Gupta 2 年之前
父節點
當前提交
d7b1972d5e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pkg/api/api.go

+ 1 - 1
pkg/api/api.go

@@ -52,7 +52,7 @@ type Service interface {
 	Ps(ctx context.Context, projectName string, options PsOptions) ([]ContainerSummary, error)
 	// List executes the equivalent to a `docker stack ls`
 	List(ctx context.Context, options ListOptions) ([]Stack, error)
-	// Convert translate compose model into backend's native format
+	// Config executes the equivalent to a `compose config`
 	Config(ctx context.Context, project *types.Project, options ConfigOptions) ([]byte, error)
 	// Kill executes the equivalent to a `compose kill`
 	Kill(ctx context.Context, projectName string, options KillOptions) error