---
examples/domain-events/events-c/event-test.c | 2 +-
examples/domain-events/events-python/event-test.py | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/examples/domain-events/events-c/event-test.c
b/examples/domain-events/events-c/event-test.c
index f11c7a3..347ee5a 100644
--- a/examples/domain-events/events-c/event-test.c
+++ b/examples/domain-events/events-c/event-test.c
@@ -176,7 +176,7 @@ static const char *eventDetailToString(int event, int detail) {
ret = "Migrated";
break;
case VIR_DOMAIN_EVENT_STOPPED_SAVED:
- ret = "Failed";
+ ret = "Saved";
break;
case VIR_DOMAIN_EVENT_STOPPED_FAILED:
ret = "Failed";
diff --git a/examples/domain-events/events-python/event-test.py
b/examples/domain-events/events-python/event-test.py
index 736c225..e3b6ed2 100644
--- a/examples/domain-events/events-python/event-test.py
+++ b/examples/domain-events/events-python/event-test.py
@@ -443,9 +443,9 @@ def detailToString(event, detail):
eventStrings = (
( "Added", "Updated" ),
( "Removed" ),
- ( "Booted", "Migrated", "Restored",
"Snapshot" ),
- ( "Paused", "Migrated", "IOError",
"Watchdog" ),
- ( "Unpaused", "Migrated"),
+ ( "Booted", "Migrated", "Restored",
"Snapshot", "Wakeup" ),
+ ( "Paused", "Migrated", "IOError",
"Watchdog", "Restored", "Snapshot" ),
+ ( "Unpaused", "Migrated", "Snapshot" ),
( "Shutdown", "Destroyed", "Crashed",
"Migrated", "Saved", "Failed", "Snapshot"),
( "Finished" )
)
--
1.7.11.1
Show replies by date
On 08/08/2012 04:20 PM, Jiri Denemark wrote:
---
examples/domain-events/events-c/event-test.c | 2 +-
examples/domain-events/events-python/event-test.py | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
ACK, I noticed that as well.
Martin
On Wed, Aug 08, 2012 at 16:22:21 +0200, Martin Kletzander wrote:
On 08/08/2012 04:20 PM, Jiri Denemark wrote:
> ---
> examples/domain-events/events-c/event-test.c | 2 +-
> examples/domain-events/events-python/event-test.py | 6 +++---
> 2 files changed, 4 insertions(+), 4 deletions(-)
>
ACK, I noticed that as well.
Pushed, thanks.
Jirka