Fix typos in flag names and error messages
Signed-off-by: Kazumichi Yamamoto <yamamoto.febc@gmail.com>
This commit is contained in:
parent
4d45e269e0
commit
9dda32a6c6
@ -151,11 +151,11 @@ func NewClient(ctx context.Context) *client.Client {
|
|||||||
|
|
||||||
cacheExports, err := buildflags.ParseCacheEntry(viper.GetStringSlice("cache-to"))
|
cacheExports, err := buildflags.ParseCacheEntry(viper.GetStringSlice("cache-to"))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
lg.Fatal().Err(err).Msg("unable to parse --export-cache options")
|
lg.Fatal().Err(err).Msg("unable to parse --cache-to options")
|
||||||
}
|
}
|
||||||
cacheImports, err := buildflags.ParseCacheEntry(viper.GetStringSlice("cache-fron"))
|
cacheImports, err := buildflags.ParseCacheEntry(viper.GetStringSlice("cache-from"))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
lg.Fatal().Err(err).Msg("unable to parse --import-cache options")
|
lg.Fatal().Err(err).Msg("unable to parse --cache-from options")
|
||||||
}
|
}
|
||||||
|
|
||||||
cl, err := client.New(ctx, "", client.Config{
|
cl, err := client.New(ctx, "", client.Config{
|
||||||
|
Reference in New Issue
Block a user