mirror of
https://github.com/lordmathis/llamactl.git
synced 2025-11-06 00:54:23 +00:00
Add tests for status change callback and options preservation
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user