API(VM): new image FQN (fully-qualified name) field (#165)

This commit is contained in:
Nikolay Edigaryev
2024-04-15 20:14:44 +04:00
committed by GitHub
parent 510a25956f
commit 7fb0a85834
4 changed files with 26 additions and 1 deletions
+1
View File
@@ -132,6 +132,7 @@ func (controller *Controller) updateVM(ctx *gin.Context) responder.Responder {
dbVM.Status = userVM.Status
dbVM.StatusMessage = userVM.StatusMessage
dbVM.ImageFQN = userVM.ImageFQN
if err := txn.SetVM(*dbVM); err != nil {
controller.logger.Errorf("failed to update VM in the DB: %v", err)