fix const declaration issue
This commit is contained in:
@@ -17,10 +17,8 @@ type Node struct {
|
|||||||
type InstanceID uint64
|
type InstanceID uint64
|
||||||
type InstanceType string
|
type InstanceType string
|
||||||
|
|
||||||
const (
|
const VM InstanceType = "VM"
|
||||||
VM InstanceType = "VM"
|
const CT InstanceType = "CT"
|
||||||
CT InstanceType = "CT"
|
|
||||||
)
|
|
||||||
|
|
||||||
type Instance struct {
|
type Instance struct {
|
||||||
Type InstanceType `json:"type"`
|
Type InstanceType `json:"type"`
|
||||||
|
|||||||
Reference in New Issue
Block a user