Skip to content
This repository was archived by the owner on Feb 8, 2021. It is now read-only.

Commit 38fd6fd

Browse files
committed
some syntax fix
1 parent d81ba3a commit 38fd6fd

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

contrib/devstack/extras.d/70-hyper.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ if [[ $VIRT_DRIVER == "hyper" ]]; then
6363
#fi
6464

6565
# Start the daemon - restart just in case the package ever auto-starts...
66-
restart_service hyper
66+
restart_service hyperd
6767

6868
echo "Waiting for docker daemon to start..."
6969
#DOCKER_GROUP=$(groups | cut -d' ' -f1)

novahyper/virt/hyper/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@
1717
:mod:`hyper` -- Nova support for Hyper Hypervisor to run Docker containers
1818
==========================================================================
1919
"""
20-
from novadocker.virt.hyper import driver
20+
from novahyper.virt.hyper import driver
2121

2222
HyperDriver = driver.HyperDriver

novahyper/virt/hyper/driver.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# under the License.
1717

1818
"""
19-
A Docker Hypervisor which allows running Linux Containers instead of VMs.
19+
A Hyper.sh Hypervisor which allows running Docker Images as VMs.
2020
"""
2121

2222
import os

novahyper/virt/hyper/errors.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -50,28 +50,28 @@ def is_server_error(self):
5050
return 500 <= self.response.status_code < 600
5151

5252

53-
class DockerException(Exception):
53+
class HyperException(Exception):
5454
pass
5555

5656

5757
class NotFound(APIError):
5858
pass
5959

6060

61-
class InvalidVersion(DockerException):
61+
class InvalidVersion(HyperException):
6262
pass
6363

6464

65-
class InvalidRepository(DockerException):
65+
class InvalidRepository(HyperException):
6666
pass
6767

6868

69-
class InvalidConfigFile(DockerException):
69+
class InvalidConfigFile(HyperException):
7070
pass
7171

7272

73-
class DeprecatedMethod(DockerException):
73+
class DeprecatedMethod(HyperException):
7474
pass
7575

76-
class NullResource(DockerException, ValueError):
76+
class NullResource(HyperException, ValueError):
7777
pass

0 commit comments

Comments
 (0)