Browse Source

omit the twice occured words in orchestrator.py

Change-Id: I50fb7b96cb0ee6bee670fd3b85007e99ef0aabc9
melissaml 5 months ago
parent
commit
3470f89519
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      python/drydock_provisioner/orchestrator/actions/orchestrator.py

+ 4
- 4
python/drydock_provisioner/orchestrator/actions/orchestrator.py View File

@@ -227,7 +227,7 @@ class DestroyNodes(BaseAction):
227 227
 
228 228
         if not target_nodes:
229 229
             self.task.add_status_msg(
230
-                msg="No nodes in scope, no work to to do.",
230
+                msg="No nodes in scope, no work to do.",
231 231
                 error=False,
232 232
                 ctx='NA',
233 233
                 ctx_type='NA')
@@ -513,7 +513,7 @@ class VerifyNodes(BaseAction):
513 513
         else:
514 514
             # no target nodes
515 515
             self.task.add_status_msg(
516
-                msg="No nodes in scope, no work to to do.",
516
+                msg="No nodes in scope, no work to do.",
517 517
                 error=False,
518 518
                 ctx='NA',
519 519
                 ctx_type='NA')
@@ -555,7 +555,7 @@ class PrepareNodes(BaseAction):
555 555
 
556 556
         if not target_nodes:
557 557
             self.task.add_status_msg(
558
-                msg="No nodes in scope, no work to to do.",
558
+                msg="No nodes in scope, no work to do.",
559 559
                 error=False,
560 560
                 ctx='NA',
561 561
                 ctx_type='NA')
@@ -898,7 +898,7 @@ class DeployNodes(BaseAction):
898 898
 
899 899
         if not target_nodes:
900 900
             self.task.add_status_msg(
901
-                msg="No nodes in scope, no work to to do.",
901
+                msg="No nodes in scope, no work to do.",
902 902
                 error=False,
903 903
                 ctx='NA',
904 904
                 ctx_type='NA')

Loading…
Cancel
Save