Conversation
const [zones] = await dns.getZones(); | ||
await Promise.all(zones.map(zone => zone.delete({force: true}))); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bcoe this is kind of funny. If two test suites happened to be running at the same time, there's no way this was going to work 馃槅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch 馃憤
Codecov Report
@@ Coverage Diff @@
## master #439 +/- ##
==========================================
+ Coverage 97.81% 97.84% +0.03%
==========================================
Files 6 6
Lines 2332 2365 +33
Branches 63 83 +20
==========================================
+ Hits 2281 2314 +33
Misses 49 49
Partials 2 2
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
馃憤 looks good to me, then we just need to cleanup any stale resources that have dnssecConfig
off
?
const [zones] = await dns.getZones(); | ||
await Promise.all(zones.map(zone => zone.delete({force: true}))); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch 馃憤
@@ -55,6 +55,39 @@ export interface CreateZoneRequest { | |||
dnsName: string; | |||
description?: string; | |||
name?: string; | |||
dnssecConfig?: ManagedZoneDnsSecConfig; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The API already excepted this field, but we weren't setting it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, there are many fields this thing accepts that we're not currently exposing. For now, this one gets us out of overground jail though.
So @amanda-tarafa this was the easiest way to deal with the overground warnings, and it happens to be kinda nice for customers so 馃し