Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add omitempty to optional probe fields #386

Merged
merged 1 commit into from
Aug 25, 2021

Conversation

HoustonPutman
Copy link
Contributor

Change log description

Fix issue with empty probes section in ZookeeperCluster using the golang client. Adds omitempty to the json serialization spec.

Purpose of the change

Fixes #378

@codecov
Copy link

codecov bot commented Aug 25, 2021

Codecov Report

Merging #386 (0b877f6) into master (2a97750) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #386   +/-   ##
=======================================
  Coverage   86.00%   86.00%           
=======================================
  Files          11       11           
  Lines        1572     1572           
=======================================
  Hits         1352     1352           
  Misses        147      147           
  Partials       73       73           
Impacted Files Coverage Δ
...g/apis/zookeeper/v1beta1/zookeepercluster_types.go 98.79% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2a97750...0b877f6. Read the comment docs.

Copy link
Contributor

@anishakj anishakj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@anishakj anishakj merged commit 1b3bd73 into pravega:master Aug 25, 2021
@HoustonPutman HoustonPutman deleted the omitempty-fix branch August 26, 2021 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Empty Probes in Spec do not play nice with the go-client validation
2 participants