Browse Source

Fix the misspelling of "except"

Change-Id: Iabfe5a9b2a99e32ab975257fe5db2bd3b29d26bf
lijunjie 3 months ago
parent
commit
749f7107d0
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      armada/handlers/tiller.py

+ 2
- 2
armada/handlers/tiller.py View File

@@ -312,7 +312,7 @@ class Tiller(object):
312 312
                     name, release_name, namespace, labels, action_type, chart,
313 313
                     disable_hooks, values, timeout)
314 314
         except Exception:
315
-            LOG.excpetion(
315
+            LOG.exception(
316 316
                 "Pre-action failure: could not perform rolling upgrade for "
317 317
                 "%(res_type)s %(res_name)s.", {
318 318
                     'res_type': action_type,
@@ -329,7 +329,7 @@ class Tiller(object):
329 329
                 self.delete_resources(
330 330
                     action_type, labels, namespace, timeout=timeout)
331 331
         except Exception:
332
-            LOG.excpetion(
332
+            LOG.exception(
333 333
                 "Pre-action failure: could not delete %(res_type)s "
334 334
                 "%(res_name)s.", {
335 335
                     'res_type': action_type,

Loading…
Cancel
Save