we missed this callsite in the toml migration changes

Summary:
This fixes up a minor but sadly fatal oversight from D6314115; a call to
`get_repo_config` didn't get renamed to `find_config_for_alias`

(Note: this ignores all push blocking failures!)

Reviewed By: bolinfest

Differential Revision: D6354474

fbshipit-source-id: 13c665882419feebf0b8c0596eb3e0220ee2cf13
This commit is contained in:
Wez Furlong 2017-11-16 16:30:49 -08:00 committed by Facebook Github Bot
parent ce187f0438
commit 53deadead8

View File

@ -408,7 +408,7 @@ Do you want to run `eden mount %s` instead?''' % (path, path))
parser = configparser.ConfigParser()
parser.read(edenrc)
repo_name = parser.get('repository', 'name')
client_config = self.get_repo_config(repo_name)
client_config = self.find_config_for_alias(repo_name)
config_path = os.path.join(clients_dir, entry, MOUNT_CONFIG)
self._save_client_config(client_config, config_path)
os.remove(edenrc)