src/cloud/dnsmgr/scripts/renew_certs_for_domain.py
def renew_all_certs(domains, out_dir, email, lego, num_tries):
    '''
    Renews all of the certificates for the domains passed in.
    '''
    failed_certs = []
    for d in list(domains):
        domains.remove(d)
        res = renew_lego_cert(d, out_dir, email, lego, num_tries)
        # TODO(philkuz) this doesn't actually append the right things.
        # Was able to successfully update creds without problems
        if not res:
            failed_certs.append(d)
    return failed_certs

    Renews all of the certificates for the domains passed in.
    
Renews all of the certificates for the domains passed in.
Renews all of the certificates for the domains passed in .
def renew_all_certs(domains, out_dir, email, lego, num_tries):
    failed_certs = []
    for d in list(domains):
        domains.remove(d)
        res = renew_lego_cert(d, out_dir, email, lego, num_tries)
        if not res:
            failed_certs.append(d)
    return failed_certs
def renew_all_certs ( domains , out_dir , email , lego , num_tries ) : failed_certs = [ ] for d in list ( domains ) : domains . remove ( d ) res = renew_lego_cert ( d , out_dir , email , lego , num_tries ) if not res : failed_certs . append ( d ) return failed_certs
Renews all of the certificates for the domains passed in.
Renews all of the certificates for the domains passed in .
'''
    Renews all of the certificates for the domains passed in.
    ''' # TODO(philkuz) this doesn't actually append the right things. # Was able to successfully update creds without problems
domains
out_dir
email
lego
num_tries