[lxc-devel] [pylxd/master] Update images.rst
dawncold on Github
lxc-bot at linuxcontainers.org
Wed May 30 04:01:17 UTC 2018
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/20180530/3dbc155f/attachment.bin>
-------------- next part --------------
From 09af4c9964256f113021ac2553bace1b8354d2d7 Mon Sep 17 00:00:00 2001
From: TianZhen <dawncold at users.noreply.github.com>
Date: Wed, 30 May 2018 12:00:57 +0800
Subject: [PATCH] Update images.rst
`image.save()` instead of `image.update()`
---
doc/source/images.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/source/images.rst b/doc/source/images.rst
index 4d4c268..6a23066 100644
--- a/doc/source/images.rst
+++ b/doc/source/images.rst
@@ -84,7 +84,7 @@ Once you have an image, you can operate on it as before:
>>> image.public
False
>>> image.public = True
- >>> image.update()
+ >>> image.save()
To create a new Image, you'll open an image file, and pass that to `create`.
More information about the lxc-devel
mailing list