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

Added support Maintenance #27

Merged
merged 4 commits into from
Oct 3, 2019
Merged

Conversation

LazarenkoA
Copy link

No description provided.

maintenance.go Outdated
@@ -125,15 +126,18 @@ func (m *MaintenanceCreateParams) FillHostIDs(session *Session) error {
return err
}

err = errors.New("Failed to tind ID by host name")
Copy link
Collaborator

Choose a reason for hiding this comment

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

Typo: "tind".

Please also make this error a global var, maybe ErrMaintenanceHostNotFound or something to that effect.

Copy link
Author

Choose a reason for hiding this comment

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

done

maintenance.go Outdated
type MaintenanceType int
type TagsEvaltype int

var ErrNotHostFound = errors.New("Failed to tind ID by host name")
Copy link
Collaborator

Choose a reason for hiding this comment

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

One last nit: Please replace "tind" with "find".

@cavaliercoder cavaliercoder merged commit da0faa5 into zabbix-tools:master Oct 3, 2019
@cavaliercoder
Copy link
Collaborator

Nice work, thank you!

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