Merge pull request #790 from nspcc-dev/fix/deploy

cli: fix type in flags.Fixed8FromContext
This commit is contained in:
Roman Khimov 2020-03-24 17:37:08 +03:00 committed by GitHub
commit 79b930f6de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -71,5 +71,5 @@ func (f Fixed8Flag) Apply(set *flag.FlagSet) {
// Fixed8FromContext returns parsed util.Fixed8 value provided flag name.
func Fixed8FromContext(ctx *cli.Context, name string) util.Fixed8 {
return ctx.Generic(name).(*Fixed8Flag).Value.Fixed8()
return ctx.Generic(name).(*Fixed8).Value
}