diff --git a/openappstack/cluster.py b/openappstack/cluster.py index 9d1094a00a9dab1d61a67cd03d12545f9a0ebf4f..aa51e6a7c8b6dd15cb417e5fc066f4a294d89b96 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):