Skip to content

Commit f063f1b

Browse files
committed
---
yaml --- r: 3121 b: refs/heads/master c: 04f354a h: refs/heads/master i: 3119: ac24ff5
1 parent 6d99b56 commit f063f1b

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
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: a1ec7f46c9e4e53ad185039011f49113de48c53a
2+
refs/heads/master: 04f354a16a8759af38d3e883b9bb9dcc467744f3
33
refs/heads/travis: e21ee7b88a5edc3f3d8c71f90c3fc32abf7e8dd6
44
refs/heads/gh-pages: 4e0561bb4504bf647db669a14417b2b2c87ba45d
55
refs/heads/pubsub-alpha: 1a0e970f265af871e02274085b9662b3fe29058b

trunk/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)