f-88: api: nom obligatoire des interfaces de VM, migration nic-<i> #88
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
74e8c6220e
commit
ee7ecbf69f
15 changed files with 244 additions and 25 deletions
|
|
@ -68,6 +68,11 @@ func run(confFile string) int {
|
|||
return 1
|
||||
}
|
||||
|
||||
if err := migration.MigrateVMNICNames(db, log.With(slog.String("component", "migration"))); err != nil {
|
||||
log.Error("vm nic name migration failed", "error", err)
|
||||
return 1
|
||||
}
|
||||
|
||||
if err := migration.MigrateVMDisks(db, log.With(slog.String("component", "migration"))); err != nil {
|
||||
log.Error("vm disk migration failed", "error", err)
|
||||
return 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue