Update connecting_lsp.go

Co-authored-by: Ross Savage <551697+dangeross@users.noreply.github.com>
This commit is contained in:
ok300
2023-11-17 16:28:00 +00:00
parent 5de95fe283
commit 0efab3f5b8

View File

@@ -18,8 +18,8 @@ func GetLspInfo() {
func ListLsps() { func ListLsps() {
// ANCHOR: list-lsps // ANCHOR: list-lsps
if err := sdk.ListLsps(); err != nil { if lspList, err := sdk.ListLsps(); err == nil {
log.Printf("%#v", err) log.Printf("%#v", lspList)
} }
// ANCHOR_END: list-lsps // ANCHOR_END: list-lsps
} }