In validating config, I've discovered I don't unde...
# dev
a
In validating config, I've discovered I don't understand metastore config. This is a
lakectl
command. It uses configuration functions in
config.go
, which works because
viper
has a default global configuration object which is different in
lakectl
and
lakefs
. But at the very least it creates a dependency between
pkg/config
and
cmd/lakectl
. Does anyone know why we do this? More importantly, is it OK for me to split off lakectl into another package?
E.g., it ends up creating a config.LogrusAWSAdapter with a nl
logger
field. AFAICT this will crash if AWS ever tries to log something?!
I shall get rid of this stray dependency, https://github.com/treeverse/lakeFS/issues/1735.