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

Commit 295aa49

Browse files
authored
Avoid compatibility test during service deployment (#236)
1 parent 7896816 commit 295aa49

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

cli/raft.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,13 @@ def validate(defaults):
135135
defaults,
136136
defaults_path,
137137
args.get('secret'))
138-
compatability_test(service_cli)
138+
139+
# If we try to run the compatibility test before deployment
140+
# it will fail because we don't have a clientId and tenantId
141+
# It does no harm to avoid the compatibility test for
142+
# all service actions.
143+
if not service_action:
144+
compatability_test(service_cli)
139145

140146
if service_action:
141147
if service_action == 'restart':

0 commit comments

Comments
 (0)