[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/06: machine: digital-ocean: Rename 'enable-ipv6' to 'enable-ipv6?'.
From: |
guix-commits |
Subject: |
06/06: machine: digital-ocean: Rename 'enable-ipv6' to 'enable-ipv6?'. |
Date: |
Tue, 22 Oct 2019 12:33:13 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit c93994b5e43acc6048b81836d30632e015306c92
Author: Ludovic Courtès <address@hidden>
Date: Tue Oct 22 18:31:47 2019 +0200
machine: digital-ocean: Rename 'enable-ipv6' to 'enable-ipv6?'.
* gnu/machine/digital-ocean.scm
(<digital-ocean-configuration>)[enable-ipv6]:
Rename to...
[enable-ipv6?]: ... this.
(deploy-digital-ocean): Adjust accordingly.
* doc/guix.texi (Invoking guix deploy): Adjust accordingly.
---
doc/guix.texi | 2 +-
gnu/machine/digital-ocean.scm | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/doc/guix.texi b/doc/guix.texi
index f24dc6b..cb004d0 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -26050,7 +26050,7 @@ such that no two machines in the deployment have the
same set of tags.
A Digital Ocean region slug, such as @code{"nyc3"}.
@item @code{size}
A Digital Ocean size slug, such as @code{"s-1vcpu-1gb"}
-@item @code{enable-ipv6}
+@item @code{enable-ipv6?}
Whether or not the droplet should be created with IPv6 networking.
@end table
@end deftp
diff --git a/gnu/machine/digital-ocean.scm b/gnu/machine/digital-ocean.scm
index 5ad7c4d..6f7cf8f 100644
--- a/gnu/machine/digital-ocean.scm
+++ b/gnu/machine/digital-ocean.scm
@@ -52,7 +52,7 @@
digital-ocean-configuration-tags
digital-ocean-configuration-region
digital-ocean-configuration-size
- digital-ocean-configuration-enable-ipv6
+ digital-ocean-configuration-enable-ipv6?
digital-ocean-environment-type))
@@ -128,7 +128,7 @@ takes care to set headers such as 'Accept' and
'Authorization' appropriately."
(tags digital-ocean-configuration-tags) ; list of strings
(region digital-ocean-configuration-region) ; string
(size digital-ocean-configuration-size) ; string
- (enable-ipv6 digital-ocean-configuration-enable-ipv6)) ; boolean
+ (enable-ipv6? digital-ocean-configuration-enable-ipv6?)) ; boolean
(define (read-key-fingerprint file-name)
"Read the private key at FILE-NAME and return the key's fingerprint as a hex
@@ -324,7 +324,7 @@ environment type of 'digital-ocean-environment-type'."
(size (digital-ocean-configuration-size config))
(ssh-key (digital-ocean-configuration-ssh-key config))
(fingerprint (read-key-fingerprint ssh-key))
- (enable-ipv6 (digital-ocean-configuration-enable-ipv6 config))
+ (enable-ipv6? (digital-ocean-configuration-enable-ipv6? config))
(tags (digital-ocean-configuration-tags config))
(request-body `(("name" . ,name)
("region" . ,region)
@@ -332,7 +332,7 @@ environment type of 'digital-ocean-environment-type'."
("image" . "debian-9-x64")
("ssh_keys" . ,(vector fingerprint))
("backups" . #f)
- ("ipv6" . ,enable-ipv6)
+ ("ipv6" . ,enable-ipv6?)
("user_data" . #nil)
("private_networking" . #nil)
("volumes" . #nil)
- branch master updated (73f0ed8 -> c93994b), guix-commits, 2019/10/22
- 06/06: machine: digital-ocean: Rename 'enable-ipv6' to 'enable-ipv6?'.,
guix-commits <=
- 02/06: doc: Use the right title in HTML indices for the cookbook., guix-commits, 2019/10/22
- 03/06: gnu: guile-json: Deprecate the 'guile-json' variable., guix-commits, 2019/10/22
- 01/06: services: elogind, gnome, mate, xfce: Fix config type predicate identifiers., guix-commits, 2019/10/22
- 05/06: machine: Implement 'digital-ocean-environment-type'., guix-commits, 2019/10/22
- 04/06: gnu: seahorse: Update to 3.30.1.1., guix-commits, 2019/10/22