[lxc-devel] [pylxd/master] include created_at for snapshot

atrautsch on Github lxc-bot at linuxcontainers.org
Sat Feb 4 21:52:41 UTC 2017


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 344 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20170204/88b88fcb/attachment.bin>
-------------- next part --------------
From 4d192f6f81dabff416b9f8994c727453582a8737 Mon Sep 17 00:00:00 2001
From: atx <atx at drecks-provider.de>
Date: Sat, 4 Feb 2017 22:48:18 +0100
Subject: [PATCH] include created_at for snapshot

---
 pylxd/models/container.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pylxd/models/container.py b/pylxd/models/container.py
index 6c59b84..46d412b 100644
--- a/pylxd/models/container.py
+++ b/pylxd/models/container.py
@@ -356,6 +356,7 @@ class Snapshot(model.Model):
     """A container snapshot."""
 
     name = model.Attribute()
+    created_at = model.Attribute()
     stateful = model.Attribute()
 
     container = model.Parent()


More information about the lxc-devel mailing list