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

migrate to use mkr.XxxHostParam instead of mackerel.HostSpec #554

Merged
merged 2 commits into from May 13, 2019
Merged

migrate to use mkr.XxxHostParam instead of mackerel.HostSpec #554

merged 2 commits into from May 13, 2019

Conversation

lufia
Copy link
Member

@lufia lufia commented Apr 3, 2019

I replaced mackerel.HostSpec with both mkr.CreateHostParam and mkr.UpdateHostParam.

notice

In this p-r, I modified a statement to pass the test because a member Checks of both mkr.Create- and Update-HostParam is tagged with json:omitempty, so unmarshalled object become a nil.

done This p-r must merge after #553 and mackerelio/mackerel-client-go#87

@lufia lufia changed the title Migrate hostspec [nit]migrate to use mkr.XxxHostParam instead of mackerel.HostSpec Apr 3, 2019
@lufia lufia changed the title [nit]migrate to use mkr.XxxHostParam instead of mackerel.HostSpec migrate to use mkr.XxxHostParam instead of mackerel.HostSpec Apr 3, 2019
lufia added 2 commits May 13, 2019 13:05
…l.HostSpec

a member Checks of both mkr.Create- and Update-HostParam is tagged with json:omitempty.
therefore TestCreateHost is modify a statement to pass the test.
@lufia lufia marked this pull request as ready for review May 13, 2019 04:14
@lufia lufia merged commit c9e6cd8 into mackerelio:master May 13, 2019
@lufia lufia deleted the migrate-hostspec branch May 13, 2019 05:21
@lufia lufia mentioned this pull request Jun 11, 2019
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.

None yet

2 participants