[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lxc-devel
Subject:    [lxc-devel] [pylxd/master] Update images.rst
From:       dawncold on Github <lxc-bot () linuxcontainers ! org>
Date:       2018-05-30 4:01:18
Message-ID: 20180530040118.1CC4356AA1 () mailman01 ! srv ! dcmtl ! stgraber ! net
[Download RAW message or body]

[Attachment #2 (text/x-mailbox)]

The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/pylxd/pull/307

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
`image.save()` instead of `image.update()`

[Attachment #3 (text/plain)]

From 09af4c9964256f113021ac2553bace1b8354d2d7 Mon Sep 17 00:00:00 2001
From: TianZhen <dawncold@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`.

[Attachment #4 (text/plain)]

_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic