Просмотр исходного кода

correct all the formate to formatter

Signed-off-by: kaiwentan <kaiwentan@harmonycloud.cn>
kaiwentan 8 лет назад
Родитель
Сommit
b8155bd5be
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      cli/command/formatter/disk_usage.go
  2. 1 1
      cli/command/formatter/image.go

+ 1 - 1
cli/command/formatter/disk_usage.go

@@ -26,7 +26,7 @@ const (
 	uniqueSizeHeader  = "UNIQUE SiZE"
 )
 
-// DiskUsageContext contains disk usage specific information required by the formater, encapsulate a Context struct.
+// DiskUsageContext contains disk usage specific information required by the formatter, encapsulate a Context struct.
 type DiskUsageContext struct {
 	Context
 	Verbose    bool

+ 1 - 1
cli/command/formatter/image.go

@@ -20,7 +20,7 @@ const (
 	digestHeader     = "DIGEST"
 )
 
-// ImageContext contains image specific information required by the formater, encapsulate a Context struct.
+// ImageContext contains image specific information required by the formatter, encapsulate a Context struct.
 type ImageContext struct {
 	Context
 	Digest bool