uroflavin / hcloud-calendar-automation

hetzner cloud automation with the help of a public accessible (web/i)calendar
GNU General Public License v3.0
1 stars 0 forks source link

offline server should be threated as "is running" #9

Open uroflavin opened 3 years ago

uroflavin commented 3 years ago

...just because the logic is to prevent the user from giving unneccesary money. a not running server costs money. so this is a bug

uroflavin commented 3 years ago

this needs some extra work. the relevant function is 'first_server_is_running_or_starting' But i don't know why i implemented this function - the intend is unclear... Function only checks if there are servers and the function is used in main to check, if the server is running. BUT in no case am i trying to start a offline server :D this makes no sense

I think, i should refactor the function