aboutsummaryrefslogtreecommitdiff
path: root/src/property
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2022-03-12 14:56:34 -0700
committerSean Whitton <spwhitton@spwhitton.name>2022-03-12 14:56:34 -0700
commit2b89cfb8645afb249f6cc21fe3ae588dae5210be (patch)
treed67961d7a112b96dea9f46bf32034f69a6405acf /src/property
parent2d8291f14de90fcf8ad09bcc175b5fcdaaf91531 (diff)
downloadconsfigurator-2b89cfb8645afb249f6cc21fe3ae588dae5210be.tar.gz
rename DEFINE-PRINT-OBJECT-FOR-STRUCTLIKE & REINIT-STRUCTLIKE
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/property')
-rw-r--r--src/property/disk.lisp2
-rw-r--r--src/property/lets-encrypt.lisp2
-rw-r--r--src/property/os.lisp4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/property/disk.lisp b/src/property/disk.lisp
index 351ae86..167f1f2 100644
--- a/src/property/disk.lisp
+++ b/src/property/disk.lisp
@@ -63,7 +63,7 @@ slot bound."))
(:documentation
"Something which contains filesystems and/or other volumes."))
-(define-print-object-for-structlike volume)
+(define-simple-print-object volume)
(defgeneric copy-volume-and-contents
(volume &rest initialisations &key &allow-other-keys)
diff --git a/src/property/lets-encrypt.lisp b/src/property/lets-encrypt.lisp
index 4ac82a3..1e90248 100644
--- a/src/property/lets-encrypt.lisp
+++ b/src/property/lets-encrypt.lisp
@@ -32,7 +32,7 @@ Let's Encrypt client. Supply an e-mail address so that Let's Encrypt can
contact you for things like certificate expiry, planned outage notifications
etc."))
-(define-print-object-for-structlike agree-tos)
+(define-simple-print-object agree-tos)
(defmacro agree-tos (&key (email-address nil email-address-supplied-p))
`(make-instance 'agree-tos ,@(and email-address-supplied-p
diff --git a/src/property/os.lisp b/src/property/os.lisp
index e9a9d8e..c4da923 100644
--- a/src/property/os.lisp
+++ b/src/property/os.lisp
@@ -32,7 +32,7 @@
(:desc "Host kernel is Linux")
(:hostattrs (push-hostattrs :os (make-instance 'linux :arch architecture))))
-(define-print-object-for-structlike linux)
+(define-simple-print-object linux)
(defclass debianlike (linux) ())
@@ -41,7 +41,7 @@
:reader debian-suite
:initform (error "Must provide suite"))))
-(define-print-object-for-structlike debian)
+(define-simple-print-object debian)
(defclass debian-stable (debian) ())