Add tests for status change callback and options preservation

This commit is contained in:
2025-10-18 13:19:01 +02:00
parent 8ac4b370c9
commit 851c73f058
3 changed files with 302 additions and 275 deletions

View File

@@ -174,7 +174,7 @@ func (i *Instance) SetOptions(opts *Options) {
}
// Preserve the original nodes to prevent changing instance location
if i.options != nil && i.options.get() != nil && i.options.get().Nodes != nil {
if i.options != nil && i.options.get() != nil {
opts.Nodes = i.options.get().Nodes
}