)]}'
{"helm-toolkit/templates/scripts/db-backup-restore/_restore_main.sh.tpl":[{"author":{"_account_id":30746,"name":"Travis Neely","email":"travis.neely@att.com","username":"travis.neely@att.com"},"change_message_id":"25bded871593ab16008aaf680d7c19a1936569ba","unresolved":false,"context_lines":[{"line_number":444,"context_line":"  REMOTE\u003d$2"},{"line_number":445,"context_line":"  WHERE\u003d\"local\""},{"line_number":446,"context_line":""},{"line_number":447,"context_line":"  if [[ \"x${REMOTE}\" !\u003d \"x\" ]]; then"},{"line_number":448,"context_line":"    WHERE\u003d\"remote\""},{"line_number":449,"context_line":"  fi"},{"line_number":450,"context_line":""},{"line_number":451,"context_line":"  if [[ \"${WHERE}\" \u003d\u003d \"remote\" ]]; then"},{"line_number":452,"context_line":"    delete_remote_archive ${ARCHIVE_FILE}"}],"source_content_type":"text/x-smarty","patch_set":3,"id":"3f65232a_524aff54","line":449,"range":{"start_line":447,"start_character":0,"end_line":449,"end_character":4},"updated":"2020-10-22 17:18:37.000000000","message":"It looks like this is checking to see if the REMOTE was passed into the function. Can you just do this with:\nif [[ ! -z \"${REMOTE}\" ]]","commit_id":"6ea096b941f1b2a8ef72db73e65ae9007ea7450d"},{"author":{"_account_id":20466,"name":"Tin Lam","email":"tin@lam.wtf","username":"tinlam"},"change_message_id":"697ce40229a7717912ead10599242237ae30b1d7","unresolved":false,"context_lines":[{"line_number":319,"context_line":"  REMOTE\u003d$2"},{"line_number":320,"context_line":"  WHERE\u003d\"local\""},{"line_number":321,"context_line":""},{"line_number":322,"context_line":"  if [[ ! -z ${REMOTE} ]]; then"},{"line_number":323,"context_line":"    WHERE\u003d\"remote\""},{"line_number":324,"context_line":"  fi"},{"line_number":325,"context_line":""}],"source_content_type":"text/x-smarty","patch_set":4,"id":"3f65232a_d977413a","line":322,"range":{"start_line":322,"start_character":8,"end_line":322,"end_character":12},"updated":"2020-10-24 05:47:51.000000000","message":"Isn\u0027t this just -n?","commit_id":"078d97a4e148f3f34f76825a2792b8168a66c132"},{"author":{"_account_id":22636,"name":"Cliff Parsons","email":"cliffhparsons@aol.com","username":"cliffparsons"},"change_message_id":"d4c4563d57a083df32d7826955aa7b3fdfb89785","unresolved":false,"context_lines":[{"line_number":319,"context_line":"  REMOTE\u003d$2"},{"line_number":320,"context_line":"  WHERE\u003d\"local\""},{"line_number":321,"context_line":""},{"line_number":322,"context_line":"  if [[ ! -z ${REMOTE} ]]; then"},{"line_number":323,"context_line":"    WHERE\u003d\"remote\""},{"line_number":324,"context_line":"  fi"},{"line_number":325,"context_line":""}],"source_content_type":"text/x-smarty","patch_set":4,"id":"3f65232a_345f57e3","line":322,"range":{"start_line":322,"start_character":8,"end_line":322,"end_character":12},"in_reply_to":"3f65232a_d977413a","updated":"2020-10-25 19:11:32.000000000","message":"done","commit_id":"078d97a4e148f3f34f76825a2792b8168a66c132"},{"author":{"_account_id":20466,"name":"Tin Lam","email":"tin@lam.wtf","username":"tinlam"},"change_message_id":"697ce40229a7717912ead10599242237ae30b1d7","unresolved":false,"context_lines":[{"line_number":350,"context_line":"  REMOTE\u003d$3"},{"line_number":351,"context_line":"  WHERE\u003d\"local\""},{"line_number":352,"context_line":""},{"line_number":353,"context_line":"  if [[ ! -z ${REMOTE} ]]; then"},{"line_number":354,"context_line":"    WHERE\u003d\"remote\""},{"line_number":355,"context_line":"  fi"},{"line_number":356,"context_line":""}],"source_content_type":"text/x-smarty","patch_set":4,"id":"3f65232a_b9740537","line":353,"range":{"start_line":353,"start_character":9,"end_line":353,"end_character":13},"updated":"2020-10-24 05:47:51.000000000","message":"ditto","commit_id":"078d97a4e148f3f34f76825a2792b8168a66c132"},{"author":{"_account_id":22636,"name":"Cliff Parsons","email":"cliffhparsons@aol.com","username":"cliffparsons"},"change_message_id":"d4c4563d57a083df32d7826955aa7b3fdfb89785","unresolved":false,"context_lines":[{"line_number":350,"context_line":"  REMOTE\u003d$3"},{"line_number":351,"context_line":"  WHERE\u003d\"local\""},{"line_number":352,"context_line":""},{"line_number":353,"context_line":"  if [[ ! -z ${REMOTE} ]]; then"},{"line_number":354,"context_line":"    WHERE\u003d\"remote\""},{"line_number":355,"context_line":"  fi"},{"line_number":356,"context_line":""}],"source_content_type":"text/x-smarty","patch_set":4,"id":"3f65232a_9473cb80","line":353,"range":{"start_line":353,"start_character":9,"end_line":353,"end_character":13},"in_reply_to":"3f65232a_b9740537","updated":"2020-10-25 19:11:32.000000000","message":"done","commit_id":"078d97a4e148f3f34f76825a2792b8168a66c132"},{"author":{"_account_id":20466,"name":"Tin Lam","email":"tin@lam.wtf","username":"tinlam"},"change_message_id":"697ce40229a7717912ead10599242237ae30b1d7","unresolved":false,"context_lines":[{"line_number":382,"context_line":"  REMOTE\u003d$4"},{"line_number":383,"context_line":"  WHERE\u003d\"local\""},{"line_number":384,"context_line":""},{"line_number":385,"context_line":"  if [[ ! -z ${REMOTE} ]]; then"},{"line_number":386,"context_line":"    WHERE\u003d\"remote\""},{"line_number":387,"context_line":"  fi"},{"line_number":388,"context_line":""}],"source_content_type":"text/x-smarty","patch_set":4,"id":"3f65232a_198ff923","line":385,"range":{"start_line":385,"start_character":7,"end_line":385,"end_character":13},"updated":"2020-10-24 05:47:51.000000000","message":"ditto","commit_id":"078d97a4e148f3f34f76825a2792b8168a66c132"},{"author":{"_account_id":22636,"name":"Cliff Parsons","email":"cliffhparsons@aol.com","username":"cliffparsons"},"change_message_id":"d4c4563d57a083df32d7826955aa7b3fdfb89785","unresolved":false,"context_lines":[{"line_number":382,"context_line":"  REMOTE\u003d$4"},{"line_number":383,"context_line":"  WHERE\u003d\"local\""},{"line_number":384,"context_line":""},{"line_number":385,"context_line":"  if [[ ! -z ${REMOTE} ]]; then"},{"line_number":386,"context_line":"    WHERE\u003d\"remote\""},{"line_number":387,"context_line":"  fi"},{"line_number":388,"context_line":""}],"source_content_type":"text/x-smarty","patch_set":4,"id":"3f65232a_7470af73","line":385,"range":{"start_line":385,"start_character":7,"end_line":385,"end_character":13},"in_reply_to":"3f65232a_198ff923","updated":"2020-10-25 19:11:32.000000000","message":"done","commit_id":"078d97a4e148f3f34f76825a2792b8168a66c132"},{"author":{"_account_id":20466,"name":"Tin Lam","email":"tin@lam.wtf","username":"tinlam"},"change_message_id":"697ce40229a7717912ead10599242237ae30b1d7","unresolved":false,"context_lines":[{"line_number":414,"context_line":"  REMOTE\u003d$4"},{"line_number":415,"context_line":"  WHERE\u003d\"local\""},{"line_number":416,"context_line":""},{"line_number":417,"context_line":"  if [[ ! -z ${REMOTE} ]]; then"},{"line_number":418,"context_line":"    WHERE\u003d\"remote\""},{"line_number":419,"context_line":"  fi"},{"line_number":420,"context_line":""}],"source_content_type":"text/x-smarty","patch_set":4,"id":"3f65232a_f9931d4e","line":417,"range":{"start_line":417,"start_character":7,"end_line":417,"end_character":12},"updated":"2020-10-24 05:47:51.000000000","message":"ditto","commit_id":"078d97a4e148f3f34f76825a2792b8168a66c132"},{"author":{"_account_id":22636,"name":"Cliff Parsons","email":"cliffhparsons@aol.com","username":"cliffparsons"},"change_message_id":"d4c4563d57a083df32d7826955aa7b3fdfb89785","unresolved":false,"context_lines":[{"line_number":414,"context_line":"  REMOTE\u003d$4"},{"line_number":415,"context_line":"  WHERE\u003d\"local\""},{"line_number":416,"context_line":""},{"line_number":417,"context_line":"  if [[ ! -z ${REMOTE} ]]; then"},{"line_number":418,"context_line":"    WHERE\u003d\"remote\""},{"line_number":419,"context_line":"  fi"},{"line_number":420,"context_line":""}],"source_content_type":"text/x-smarty","patch_set":4,"id":"3f65232a_d46d4399","line":417,"range":{"start_line":417,"start_character":7,"end_line":417,"end_character":12},"in_reply_to":"3f65232a_f9931d4e","updated":"2020-10-25 19:11:32.000000000","message":"done","commit_id":"078d97a4e148f3f34f76825a2792b8168a66c132"},{"author":{"_account_id":20466,"name":"Tin Lam","email":"tin@lam.wtf","username":"tinlam"},"change_message_id":"697ce40229a7717912ead10599242237ae30b1d7","unresolved":false,"context_lines":[{"line_number":444,"context_line":"  REMOTE\u003d$2"},{"line_number":445,"context_line":"  WHERE\u003d\"local\""},{"line_number":446,"context_line":""},{"line_number":447,"context_line":"  if [[ ! -z ${REMOTE} ]]; then"},{"line_number":448,"context_line":"    WHERE\u003d\"remote\""},{"line_number":449,"context_line":"  fi"},{"line_number":450,"context_line":""}],"source_content_type":"text/x-smarty","patch_set":4,"id":"3f65232a_5999716c","line":447,"range":{"start_line":447,"start_character":8,"end_line":447,"end_character":12},"updated":"2020-10-24 05:47:51.000000000","message":"ditto","commit_id":"078d97a4e148f3f34f76825a2792b8168a66c132"},{"author":{"_account_id":22636,"name":"Cliff Parsons","email":"cliffhparsons@aol.com","username":"cliffparsons"},"change_message_id":"d4c4563d57a083df32d7826955aa7b3fdfb89785","unresolved":false,"context_lines":[{"line_number":444,"context_line":"  REMOTE\u003d$2"},{"line_number":445,"context_line":"  WHERE\u003d\"local\""},{"line_number":446,"context_line":""},{"line_number":447,"context_line":"  if [[ ! -z ${REMOTE} ]]; then"},{"line_number":448,"context_line":"    WHERE\u003d\"remote\""},{"line_number":449,"context_line":"  fi"},{"line_number":450,"context_line":""}],"source_content_type":"text/x-smarty","patch_set":4,"id":"3f65232a_b46a477d","line":447,"range":{"start_line":447,"start_character":8,"end_line":447,"end_character":12},"in_reply_to":"3f65232a_5999716c","updated":"2020-10-25 19:11:32.000000000","message":"done","commit_id":"078d97a4e148f3f34f76825a2792b8168a66c132"}]}
