mirror of
https://github.com/outbackdingo/patroni.git
synced 2026-08-25 14:53:37 +00:00
Make parse_connstring staticmethod less 'selfish'
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@ class Restore:
|
||||
self.env = os.environ.copy()
|
||||
|
||||
@staticmethod
|
||||
def parse_connstring(self, connstring):
|
||||
def parse_connstring(connstring):
|
||||
# the connection string is in the form host= port= user=
|
||||
# return the dictionary with all components as separare keys
|
||||
result = {}
|
||||
|
||||
Reference in New Issue
Block a user