harris-chris / Jot.jl

Streamlines the creation and management of AWS Lambda functions written in Julia
MIT License
41 stars 6 forks source link

Fixed getting labels and get_commit error handling #23

Closed jennya-alexeyeva closed 2 years ago

jennya-alexeyeva commented 2 years ago

An error getting the most recent commit in get_labels was causing images to be incorrectly labelled as not jot generated, which resulted in create_local_image being unable to find the image it correctly created. I modified get_commit slightly so that it is able to properly catch errors so that images can be labelled correctly. I also modified get_labels(image_inspect::AbstractDict{String, Any}) because it was pulling labels from the wrong key.

harris-chris commented 2 years ago

That's now merged - thanks very much for your help.