Refactor the Read Namespace requests to not use the query funct… (#6720)
Refactor the Read Namespace requests to not use the query funct… (#6720)

The query function doesn’t handle non-200 return codes properly so this ended up still trying to decode the body which resulted in weird error messages.
kingland/consul,scalp42/consul,kingland/consul,kingland/consul,hashicorp/consul,42wim/consul,scalp42/consul,hashicorp/consul,kingland/consul,scalp42/consul,scalp42/consul,scalp42/consul,kingland/consul,42wim/consul,42wim/consul,42wim/consul,42wim/consul,hashicorp/consul,hashicorp/consul