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

Fix govet:fieldalignment linting error #143

Merged
merged 1 commit into from
Apr 8, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,6 @@ const DefaultNagiosNotificationTimeout time.Duration = 30 * time.Second
// struct is configured via command-line flags provided by the user.
type Config struct {

// Retries is the number of attempts that this application will make
// to deliver messages before giving up.
Retries int

// RetriesDelay is the number of seconds to wait between retry attempts.
RetriesDelay int

// Team is the human-readable name of the Microsoft Teams "team" that
// contains the channel we wish to post a message to. This is used in
// informational output produced by this application only; the remote API
Expand Down Expand Up @@ -108,6 +101,13 @@ type Config struct {
// the message that we will submit.
MessageText string

// Retries is the number of attempts that this application will make
// to deliver messages before giving up.
Retries int

// RetriesDelay is the number of seconds to wait between retry attempts.
RetriesDelay int

// Whether detailed output should be shown after message submission
// success or failure.
VerboseOutput bool
Expand Down