File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 5
5
6
6
setuptools .setup (
7
7
name = "staroid" , # Replace with your own username
8
- version = "0.0.7 " ,
8
+ version = "0.0.8 " ,
9
9
license = 'MIT' ,
10
10
author = "Staroid" ,
11
11
author_email = "support@staroid.com" ,
Original file line number Diff line number Diff line change @@ -225,7 +225,7 @@ def get_all_resources(self, instance_name):
225
225
logging .error ("Can not get namespace resources {}" , r .status_code )
226
226
return None
227
227
228
- def _is_tunnel_running (self , instance_name ):
228
+ def is_tunnel_running (self , instance_name ):
229
229
if instance_name in self .__tunnel_processes :
230
230
p = self .__tunnel_processes [instance_name ]
231
231
p .poll ()
@@ -234,7 +234,7 @@ def _is_tunnel_running(self, instance_name):
234
234
return False
235
235
236
236
def start_tunnel (self , instance_name , tunnels ):
237
- if self ._is_tunnel_running (instance_name ):
237
+ if self .is_tunnel_running (instance_name ):
238
238
return
239
239
240
240
chisel_path = self .__staroid .get_chisel_path ()
@@ -281,7 +281,7 @@ def __cleanup(self):
281
281
p .kill () # supported from python 2.6
282
282
283
283
def stop_tunnel (self , instance_name ):
284
- if self ._is_tunnel_running (instance_name ):
284
+ if self .is_tunnel_running (instance_name ):
285
285
self .__tunnel_processes [instance_name ].kill ()
286
286
del self .__tunnel_processes [instance_name ]
287
287
You can’t perform that action at this time.
0 commit comments