multi: log warnings if deprecated config options are used
This commit adds warning logs if the user uses deprecated config options, paving the way for future removal.
This commit is contained in:
4 files changed
+45
-8
No files matched your search
+1
-1
@@ -3054,7 +3054,7 @@ func (r *rpcServer) GetInfo(_ context.Context,
|
||||
func (r *rpcServer) GetDebugInfo(_ context.Context,
|
||||
_ *lnrpc.GetDebugInfoRequest) (*lnrpc.GetDebugInfoResponse, error) {
|
||||
|
||||
flatConfig, err := configToFlatMap(*r.cfg)
|
||||
flatConfig, _, err := configToFlatMap(*r.cfg)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("error converting config to flat map: "+
|
||||
"%w", err)
|
||||
|
||||
Reference in new issue
Block a user