From 659d4eb4ba3db8e4ab9a3bc0e5303933d036b830 Mon Sep 17 00:00:00 2001 From: venkatamahesh Date: Sun, 15 Nov 2015 15:35:46 +0530 Subject: [PATCH] Fix typos Change-Id: I218590473c9fed3903666fb5c294dc8b270a74d9 --- .../common/pythonk8sclient/swagger_client/models/v1_event.py | 4 ++-- magnum/common/pythonk8sclient/templates/v1.json | 2 +- magnum/tests/functional/python_client_base.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/magnum/common/pythonk8sclient/swagger_client/models/v1_event.py b/magnum/common/pythonk8sclient/swagger_client/models/v1_event.py index 324ebd5c91..bba283a80f 100644 --- a/magnum/common/pythonk8sclient/swagger_client/models/v1_event.py +++ b/magnum/common/pythonk8sclient/swagger_client/models/v1_event.py @@ -251,7 +251,7 @@ class V1Event(object): def last_timestamp(self): """ Gets the last_timestamp of this V1Event. - the time at which the most recent occurance of this event was recorded + the time at which the most recent occurrence of this event was recorded :return: The last_timestamp of this V1Event. :rtype: str @@ -262,7 +262,7 @@ class V1Event(object): def last_timestamp(self, last_timestamp): """ Sets the last_timestamp of this V1Event. - the time at which the most recent occurance of this event was recorded + the time at which the most recent occurrence of this event was recorded :param last_timestamp: The last_timestamp of this V1Event. :type: str diff --git a/magnum/common/pythonk8sclient/templates/v1.json b/magnum/common/pythonk8sclient/templates/v1.json index 1db910aef2..182c0ff645 100644 --- a/magnum/common/pythonk8sclient/templates/v1.json +++ b/magnum/common/pythonk8sclient/templates/v1.json @@ -10629,7 +10629,7 @@ }, "lastTimestamp": { "type": "string", - "description": "the time at which the most recent occurance of this event was recorded" + "description": "the time at which the most recent occurrence of this event was recorded" }, "count": { "type": "integer", diff --git a/magnum/tests/functional/python_client_base.py b/magnum/tests/functional/python_client_base.py index 76ed2ebf4e..d1ff026a7e 100644 --- a/magnum/tests/functional/python_client_base.py +++ b/magnum/tests/functional/python_client_base.py @@ -83,7 +83,7 @@ class BaseMagnumClient(base.TestCase): def _wait_on_status(cls, bay, wait_status, finish_status): # Check status every 60 seconds for a total of 100 minutes for i in range(100): - # sleep 1s to wait bay status changes, this will be usefull for + # sleep 1s to wait bay status changes, this will be useful for # the first time we wait for the status, to avoid another 59s time.sleep(1) status = cls.cs.bays.get(bay.uuid).status