We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5155c44 commit 7a5ab30Copy full SHA for 7a5ab30
drivers/LinstorSR.py
@@ -13,7 +13,7 @@
13
#
14
# You should have received a copy of the GNU General Public License
15
# along with this program. If not, see <https://www.gnu.org/licenses/>.
16
-
+from drivers.linstorvolumemanager import write_controller_uri_cache
17
from sm_typing import Optional, override
18
19
from constants import CBTLOG_TAG
@@ -420,6 +420,7 @@ def connect():
420
try:
421
util.SMlog('Connecting from config to LINSTOR controller using: {}'.format(ip))
422
create_linstor(controller_uri, attempt_count=0)
423
+ write_controller_uri_cache(controller_uri)
424
return controller_uri
425
except:
426
pass
0 commit comments