Skip to content

Commit d329877

Browse files
(SOLARCH-558) fixing indentation
1 parent c8ebc2f commit d329877

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

tasks/code_sync_status.rb

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,15 @@ def check_environment_code(environment, servers, status_call)
6868
# Find the commit ID of the server we are checking for this environment note expected message is of the format
6969
# code-manager deploy signature: '93027145096d9f1e0b716b20b8129618d0a2c7e2'
7070
servercommit = status_call.dig('file-sync-storage-service',
71-
'status',
72-
'clients',
73-
server.to_s,
74-
'repos',
75-
'puppet-code',
76-
'submodules',
77-
environment.to_s,
78-
'latest_commit',
79-
'message').split("'").last
71+
'status',
72+
'clients',
73+
server.to_s,
74+
'repos',
75+
'puppet-code',
76+
'submodules',
77+
environment.to_s,
78+
'latest_commit',
79+
'message').split("'").last
8080
results['servers'][server]['commit'] = servercommit
8181
# Check if it matches and if not mark the environment not in sync on an environment
8282
results['servers'][server]['sync'] = servercommit == primarycommit

0 commit comments

Comments
 (0)