refactor(model): Remove unused field
This commit is contained in:
@@ -21,8 +21,6 @@ type Service struct {
|
|||||||
Public *bool `gorm:"default:false" json:"public"`
|
Public *bool `gorm:"default:false" json:"public"`
|
||||||
// Host to check, for example 192.168.1.44
|
// Host to check, for example 192.168.1.44
|
||||||
Host string `gorm:"size:255;not null" json:"host"`
|
Host string `gorm:"size:255;not null" json:"host"`
|
||||||
// Port to check, for example 5432 (postgresql)
|
|
||||||
Port *int `gorm:"default:null" json:"port"`
|
|
||||||
// Type for check, for now is TCP or HTTP
|
// Type for check, for now is TCP or HTTP
|
||||||
Type string `gorm:"size:255;not null" json:"type"`
|
Type string `gorm:"size:255;not null" json:"type"`
|
||||||
TypeConfig *ServiceTypeCheckConfig `gorm:"serializer:json" json:"type_config"`
|
TypeConfig *ServiceTypeCheckConfig `gorm:"serializer:json" json:"type_config"`
|
||||||
|
|||||||
Reference in New Issue
Block a user