🐛 quickfix: nil point

This commit is contained in:
naiba
2021-01-18 13:45:06 +08:00
parent 769b61843e
commit c5379a0092
5 changed files with 5 additions and 6 deletions

View File

@@ -17,7 +17,7 @@ type Server struct {
Host *Host `gorm:"-"`
State *HostState `gorm:"-"`
LastActive *time.Time `gorm:"-"`
LastActive time.Time `gorm:"-"`
TaskClose chan error `gorm:"-" json:"-"`
TaskStream pb.NezhaService_RequestTaskServer `gorm:"-" json:"-"`