From 5a9e2978191e49317bd2dfc76a4f5b024197cb0c Mon Sep 17 00:00:00 2001
From: Maarten de Waard <maarten@greenhost.nl>
Date: Fri, 30 Aug 2019 15:29:45 +0200
Subject: [PATCH] clarify data_loaded comments

---
 openappstack/cluster.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/openappstack/cluster.py b/openappstack/cluster.py
index 9d1094a00..aa51e6a7c 100644
--- a/openappstack/cluster.py
+++ b/openappstack/cluster.py
@@ -40,7 +40,7 @@ class Cluster:
         self.domain = None
         # By default, use Let's Encrypt's staging environment
         self.acme_staging = True
-        # Set this to true if the data needs to be loaded from file
+        # Set this to False if the data needs to be (re)loaded from file
         self.data_loaded = False
         # Load data from inventory.yml and settings.yml
         if load_data:
@@ -50,7 +50,7 @@ class Cluster:
         """
         Loads cluster data from inventory.yml and settings.yml files
 
-        Set self.data_loaded to false if this function should not re-read data
+        Set self.data_loaded to False if this function should re-read data
         from file.
         """
         if not self.data_loaded:
@@ -70,8 +70,8 @@ class Cluster:
 
             log.debug('Read data from inventory.yml:\n\thostname: %s', self.hostname)
         else:
-            log.debug('Not loading cluster data from file. Set reload_data to '
-                      'True if you want a reload.')
+            log.debug('Not loading cluster data from file. Set '
+                      'Cluster.data_loaded to False if you want a reload.')
         self.data_loaded = True
 
     def create_droplet(self, ssh_key_id=0, hostname=None):
-- 
GitLab