hashicorp / hashicorp/consul

Catalog Node API return nil when the node is down

Open
#3,264 1 comment 0 reactions 0 assignees View on GitHub
theme/api type/enhancement
Dominant language
Go
Stars
30.1k
Forks
4.6k
Avg merge
2d 6h
Merged PRs (30d)
43

Description

I am using the following Catalog Node API to watch the changes on a node:

`func (c *Catalog) Node(node string, q *QueryOptions) (*CatalogNode, *QueryMeta, error)`

In the testing, I manually shut down (Ctrl + c the running agent) the node being watched, my code received nil error but nil CatalogNode reference.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.