summaryrefslogtreecommitdiffstats
path: root/kubernetes/common/cassandra/resources/exec.py
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/common/cassandra/resources/exec.py')
-rw-r--r--kubernetes/common/cassandra/resources/exec.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/kubernetes/common/cassandra/resources/exec.py b/kubernetes/common/cassandra/resources/exec.py
index 5b3ae33371..a7f297399e 100644
--- a/kubernetes/common/cassandra/resources/exec.py
+++ b/kubernetes/common/cassandra/resources/exec.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
import getopt
import logging
import os
@@ -7,7 +7,7 @@ import time
from kubernetes import config
from kubernetes.client import Configuration
-from kubernetes.client.apis import core_v1_api
+from kubernetes.client.api import core_v1_api
from kubernetes.client.rest import ApiException
from kubernetes.stream import stream