fix 2 minor struct tag issues

This commit is contained in:
Becca Petrin 2018-04-10 16:11:44 -07:00
parent b6164532be
commit b79458ce7e
2 changed files with 2 additions and 2 deletions

View file

@ -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) {

View file

@ -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