Replacing data_processing with data-processing
Using data_processing when setting keystone static catalog causes Sahara not to find the endpoint afterwards since keystone translates data_processing to data-processing Change-Id: I959c1bc76eebc4ddb787f872ce7319bd6ba83be8 Closes-bug: #1356053
This commit is contained in:
@@ -36,10 +36,10 @@ class SaharaClientPlugin(client_plugin.ClientPlugin):
|
||||
def _create(self):
|
||||
con = self.context
|
||||
endpoint_type = self._get_client_option('sahara', 'endpoint_type')
|
||||
endpoint = self.url_for(service_type='data_processing',
|
||||
endpoint = self.url_for(service_type='data-processing',
|
||||
endpoint_type=endpoint_type)
|
||||
args = {
|
||||
'service_type': 'data_processing',
|
||||
'service_type': 'data-processing',
|
||||
'input_auth_token': self.auth_token,
|
||||
'auth_url': con.auth_url,
|
||||
'project_name': con.tenant,
|
||||
|
||||
Reference in New Issue
Block a user