Skip to content
This repository has been archived by the owner on Oct 24, 2020. It is now read-only.

bug: Do not check 'metrics' instance for draining #60

Merged
merged 1 commit into from
Apr 20, 2017
Merged

Conversation

jrconlin
Copy link
Contributor

Also fixed some flake8 errors

closes #59

@codecov
Copy link

codecov bot commented Apr 19, 2017

Codecov Report

Merging #60 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #60   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           4      4           
  Lines         483    488    +5     
=====================================
+ Hits          483    488    +5
Impacted Files Coverage Δ
ardere/step_functions.py 100% <100%> (ø) ⬆️
ardere/aws.py 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b54c3e8...40e8cd0. Read the comment docs.

ardere/aws.py Outdated
Optional,
Tuple
) # noqa
from typing import (Any, Dict, List, Optional, Tuple) # noqa
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Huh?

Also fixed some flake8 errors

closes #59
status="ACTIVE",
).get('containerInstanceArns', [])
# filter out metric servers
if self.event["metrics_options"]["enabled"]:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The shutdown plan already locates the metrics service, we should probably determine when we call it the first time and stick it in the event to avoid having to keep searching (and slowing execution time).

@bbangert bbangert merged commit 0a34ae0 into master Apr 20, 2017
@bbangert bbangert deleted the bug/59 branch April 20, 2017 01:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Exclude metric ARNs from drain check
3 participants