You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most adapters use an array for #native attributes. linux_host and likely systemd use hashes.
So when someone uses an array (like the dashboard's test:jobs rake task does) it throws this runtime error.
rake aborted!
TypeError: no implicit conversion of String into Integer
/users/PZS0714/johrstrom/ondemand/src/apps/dashboard/vendor/bundle/ruby/2.7.0/gems/ood_core-0.20.0/lib/ood_core/job/adapters/linux_host/launcher.rb:97:in `[]'
/users/PZS0714/johrstrom/ondemand/src/apps/dashboard/vendor/bundle/ruby/2.7.0/gems/ood_core-0.20.0/lib/ood_core/job/adapters/linux_host/launcher.rb:97:in `submit_host'
/users/PZS0714/johrstrom/ondemand/src/apps/dashboard/vendor/bundle/ruby/2.7.0/gems/ood_core-0.20.0/lib/ood_core/job/adapters/linux_host/launcher.rb:60:in `start_remote_session'
/users/PZS0714/johrstrom/ondemand/src/apps/dashboard/vendor/bundle/ruby/2.7.0/gems/ood_core-0.20.0/lib/ood_core/job/adapters/linux_host.rb:83:in `submit'These should be casting to hashes as arrays are more popular.
Most adapters use an array for
#native
attributes.linux_host
and likelysystemd
use hashes.So when someone uses an array (like the dashboard's
test:jobs
rake task does) it throws this runtime error.┆Issue is synchronized with this Asana task by Unito
The text was updated successfully, but these errors were encountered: