fix: auto set vmid when creating host from Foreman API #304
Annotations
2 errors and 2 warnings
Run test suite with coverage report:
../foreman_fog_proxmox/test/unit/foreman_fog_proxmox/proxmox_vm_commands_server_create_test.rb#L469
Failure: test_0002_computes next vmid when vmid == 0 and creates server
NameError: undefined local variable or method `node' for #<ForemanFogProxmox::Proxmox:0x0000558fc90e1970>
Did you mean? nodes
/home/runner/work/foreman_fog_proxmox/foreman_fog_proxmox/foreman_fog_proxmox/app/models/foreman_fog_proxmox/proxmox_vm_commands.rb:58:in `assign_vmid'
/home/runner/work/foreman_fog_proxmox/foreman_fog_proxmox/foreman_fog_proxmox/app/models/foreman_fog_proxmox/proxmox_vm_commands.rb:35:in `create_vm'
/home/runner/work/foreman_fog_proxmox/foreman_fog_proxmox/foreman_fog_proxmox/test/unit/foreman_fog_proxmox/proxmox_vm_commands_server_create_test.rb:55:in `block (2 levels) in <class:ProxmoxVmCommandsServerCreateTest>'
|
Run test suite with coverage report
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The logs for this run have expired and are no longer available.
Loading