Skip to content

Commit

Permalink
Fix missing attributes in types
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake Gealer committed Nov 14, 2022
1 parent d38c309 commit 413688d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
9 changes: 9 additions & 0 deletions types/ignite.go
Original file line number Diff line number Diff line change
Expand Up @@ -637,6 +637,15 @@ type HealthCheckUpdateOpts struct {
// HealthCheckID is used to define the ID of the health check. This must be set.
HealthCheckID string `json:"-"`

// Protocol is the protocol that this health check will work on.
Protocol HealthCheckProtocol `json:"protocol,omitempty"`

// Path is the path which should be hit for the health check.
Path string `json:"path,omitempty"`

// Port is the port that should be hit for the health check.
Port int `json:"port,omitempty"`

// InitialDelay is the initial delay in health checking.
InitialDelay Seconds `json:"initial_delay,omitempty"`

Expand Down
5 changes: 4 additions & 1 deletion types/testdata/types.HealthCheckUpdateOpts.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{
"protocol": "ghi",
"path": "jkl",
"port": 4,
"initial_delay": 0,
"interval": 0,
"timeout": 0,
"max_retries": 5
"max_retries": 8
}
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package hop

// Version is used to define a tagged version. This will be updated when a new version is released.
const Version = "1.8.0"
const Version = "1.8.1"

0 comments on commit 413688d

Please sign in to comment.