Skip to content

Commit c5a9ac0

Browse files
committed
---
yaml --- r: 4581 b: refs/heads/logging-alpha c: 04f354a h: refs/heads/master i: 4579: 5aaabed
1 parent 112edf9 commit c5a9ac0

5 files changed

Lines changed: 1098 additions & 241 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ refs/heads/compute-alpha: 969cba2627f1d53d352cc4a5ffe0879dacf65e6c
1212
refs/heads/dns-alpha: 2f90e7e338349287ace33375896907af0f032ca1
1313
refs/heads/dns-alpha-batch: 17442b07867021b85d0452f5f3eda29a3413288f
1414
refs/heads/gcs-nio: 283aeaf15efdcf3621eb6859f05e55ad7764375d
15-
refs/heads/logging-alpha: a1ec7f46c9e4e53ad185039011f49113de48c53a
15+
refs/heads/logging-alpha: 04f354a16a8759af38d3e883b9bb9dcc467744f3
1616
refs/tags/v0.1.0: a615317f7424ed58621b1f65d5c4d8cbbe8a6ed8
1717
refs/tags/v0.1.1: 7a7f6985fe465e9dd6a075af55493f42b4933be0
1818
refs/tags/v0.1.2: 3eb3fe866ba22487686048f45d927b8c8638ea3f

branches/logging-alpha/gcloud-java-dns/src/main/java/com/google/gcloud/spi/DefaultDnsRpc.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,9 @@ public Change getChangeRequest(String zoneName, String changeRequestId, Map<Opti
162162
} catch (IOException ex) {
163163
DnsException serviceException = translate(ex);
164164
if (serviceException.code() == HTTP_NOT_FOUND) {
165-
if (serviceException.location().equals("entity.parameters.changeId")) {
165+
if ((serviceException.location() != null
166+
&& serviceException.location().equals("entity.parameters.changeId"))
167+
|| serviceException.getMessage().contains("parameters.changeId")) {
166168
// the change id was not found, but the zone exists
167169
return null;
168170
}

0 commit comments

Comments
 (0)