Skip to content

Commit 67c1b92

Browse files
committed
---
yaml --- r: 4119 b: refs/heads/gcs-nio c: 04f354a h: refs/heads/master i: 4117: 54c69f0 4115: 727230f 4111: 837bfde
1 parent f832cd4 commit 67c1b92

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
@@ -11,7 +11,7 @@ refs/tags/v0.0.12: 2fd8066e891fb3dfea69b65f6bf6461db79342b9
1111
refs/heads/compute-alpha: 969cba2627f1d53d352cc4a5ffe0879dacf65e6c
1212
refs/heads/dns-alpha: 2f90e7e338349287ace33375896907af0f032ca1
1313
refs/heads/dns-alpha-batch: 17442b07867021b85d0452f5f3eda29a3413288f
14-
refs/heads/gcs-nio: a1ec7f46c9e4e53ad185039011f49113de48c53a
14+
refs/heads/gcs-nio: 04f354a16a8759af38d3e883b9bb9dcc467744f3
1515
refs/heads/logging-alpha: db5312bffa7fccac194f6a7feb8cc3066de16aff
1616
refs/tags/v0.1.0: a615317f7424ed58621b1f65d5c4d8cbbe8a6ed8
1717
refs/tags/v0.1.1: 7a7f6985fe465e9dd6a075af55493f42b4933be0

branches/gcs-nio/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)