awslabs / ecr-cleanup-lambda

A script to discover stale ECR images and take action on them with Lambda to help reduce costs.
Other
161 stars 96 forks source link

Error when invoking without -ignoretagsregex #26

Open rchekaluk opened 6 years ago

rchekaluk commented 6 years ago
$ python main.py
Traceback (most recent call last):
  File "main.py", line 211, in <module>
    os.environ["IGNORE_TAGS_REGEX"] = args.ignoretagsregex
  File "/usr/lib64/python2.7/os.py", line 471, in __setitem__
    putenv(key, item)
TypeError: must be string, not None

Workaround:

$ python main.py -ignoretagsregex dummy
hposca commented 5 years ago

This was solved on #27 apparently

archetypalsxe commented 4 years ago

Confirmed that this is no longer occurring