get_instance_name takes base_name now so that it won't confuse moonraker-obico as an instance of Moonraker

This commit is contained in:
Kenneth Jiang
2022-08-01 16:11:01 -07:00
parent 8f5bdf2707
commit ff9b563131
5 changed files with 11 additions and 11 deletions

View File

@@ -35,7 +35,7 @@ function octoprint_setup_dialog() {
local klipper_count user_input=() klipper_names=()
klipper_count=$(echo "${klipper_services}" | wc -w )
for service in ${klipper_services}; do
klipper_names+=( "$(get_instance_name "${service}")" )
klipper_names+=( "$(get_instance_name "${service}" klipper)" )
done
local octoprint_count