Merge pull request #969 from yamamoto-febc/flag-name-typo
Fix typos in flag names and error messages
This commit is contained in:
commit
5de40f10bd
@ -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