From b79458ce7e5a066b3a127182bb3afb9a0335502b Mon Sep 17 00:00:00 2001 From: Becca Petrin Date: Tue, 10 Apr 2018 16:11:44 -0700 Subject: [PATCH] fix 2 minor struct tag issues --- builtin/credential/ldap/path_config.go | 2 +- logical/request.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/builtin/credential/ldap/path_config.go b/builtin/credential/ldap/path_config.go index 659dff9f89..185d0225b7 100644 --- a/builtin/credential/ldap/path_config.go +++ b/builtin/credential/ldap/path_config.go @@ -385,7 +385,7 @@ type ConfigEntry struct { DiscoverDN bool `json:"discoverdn"` TLSMinVersion string `json:"tls_min_version"` TLSMaxVersion string `json:"tls_max_version"` - CaseSensitiveNames *bool `json:"case_sensitive_names,omitempty` + CaseSensitiveNames *bool `json:"case_sensitive_names,omitempty"` } func (c *ConfigEntry) GetTLSConfig(host string) (*tls.Config, error) { diff --git a/logical/request.go b/logical/request.go index 5e5102d1c5..7bff6f0804 100644 --- a/logical/request.go +++ b/logical/request.go @@ -143,7 +143,7 @@ type Request struct { // For replication, contains the last WAL on the remote side after handling // the request, used for best-effort avoidance of stale read-after-write - lastRemoteWAL uint64 `sentinel:""` + lastRemoteWAL uint64 } // Get returns a data field and guards for nil Data