[typica] r333 committed - properly parse enabled state for monitoring

0 views
Skip to first unread message

typ...@googlecode.com

unread,
Jul 8, 2010, 6:03:01 PM7/8/10
to typic...@googlegroups.com
Revision: 333
Author: dkavanagh
Date: Thu Jul 8 13:33:26 2010
Log: properly parse enabled state for monitoring

http://code.google.com/p/typica/source/detail?r=333

Modified:
/trunk/java/com/xerox/amazonws/ec2/ReservationDescription.java

=======================================
--- /trunk/java/com/xerox/amazonws/ec2/ReservationDescription.java Thu Jul
8 08:45:37 2010
+++ /trunk/java/com/xerox/amazonws/ec2/ReservationDescription.java Thu Jul
8 13:33:26 2010
@@ -230,7 +230,7 @@
this.kernelId = rsp_item.getKernelId();
this.ramdiskId = rsp_item.getRamdiskId();
this.platform = rsp_item.getPlatform();
- this.monitoring = rsp_item.getMonitoring().getState().equals("enabled");
+ this.monitoring =
rsp_item.getMonitoring().getState().contains("enabled");
this.subnetId = rsp_item.getSubnetId();
this.privateIpAddress = rsp_item.getPrivateIpAddress();
this.ipAddress = rsp_item.getIpAddress();

Reply all
Reply to author
Forward
0 new messages