diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-12-10 10:25:04 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-12-10 10:25:04 +0000 |
commit | 8622cbe476ee19b12d6d4ea77250146d5cb8717f (patch) | |
tree | 06a46583880489d4fba8f2f5c4450a23c33f58cc /staslib/ctrl.py | |
parent | Adding upstream version 2.3. (diff) | |
download | nvme-stas-upstream.tar.xz nvme-stas-upstream.zip |
Adding upstream version 2.3.1.upstream/2.3.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'staslib/ctrl.py')
-rw-r--r-- | staslib/ctrl.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/staslib/ctrl.py b/staslib/ctrl.py index 9f415b3..e4cda6b 100644 --- a/staslib/ctrl.py +++ b/staslib/ctrl.py @@ -425,7 +425,7 @@ class Dc(Controller): @property def origin(self): - '''@brief Return how this controller came into existance. Was it + '''@brief Return how this controller came into existence. Was it "discovered" through mDNS service discovery (TP8009), was it manually "configured" in stafd.conf, or was it a "referral". ''' @@ -853,6 +853,6 @@ class Ioc(Controller): self._try_to_connect_deferred.schedule() def _should_try_to_reconnect(self): - '''@brief This is used to determine when it's time to stop trying toi connect''' + '''@brief This is used to determine when it's time to stop trying to connect''' max_connect_attempts = conf.SvcConf().connect_attempts_on_ncc if self.ncc else 0 return max_connect_attempts == 0 or self._connect_attempts < max_connect_attempts |