Get transfers 'fully' working, need to add fail request though

This commit is contained in:
Matthew Penner
2020-04-04 16:15:49 -06:00
parent 8bd7708631
commit 6af3cb2c9b
4 changed files with 91 additions and 3 deletions

View File

@@ -52,6 +52,11 @@ func (s *Server) UpdateDataStructure(data []byte, background bool) error {
}
} else {
s.Suspended = v
if s.Suspended {
zap.S().Debugw("server has been suspended", zap.String("server", s.Uuid))
} else {
zap.S().Debugw("server has been unsuspended", zap.String("server", s.Uuid))
}
}
// Environment and Mappings should be treated as a full update at all times, never a