Skip to content

Commit

Permalink
Merge pull request #90 from vbelouso/fix-types
Browse files Browse the repository at this point in the history
fix: correct type for InstanceStatus constants
  • Loading branch information
vbelouso authored Dec 19, 2024
2 parents 86b282d + 5c01da4 commit 8533f56
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/inventory/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ const (
// Running Instance status
Running InstanceStatus = "Running"
// Stopped Instance status
Stopped = "Stopped"
Stopped InstanceStatus = "Stopped"
// Terminated Instance status
Terminated = "Terminated"
Terminated InstanceStatus = "Terminated"
// Unknown Instance status
Unknown = "Unknown"
Unknown InstanceStatus = "Unknown"
)

// AsInstanceStatus converts the incoming argument into a InstanceStatus type
Expand Down

0 comments on commit 8533f56

Please sign in to comment.