Remove check for disabled v3
We should never be disabling an API version now, this change removes a check for seeing if v3 is disabled. Since we should not be disabling an API version anymore, this check is not needed. Also removed one test for checking if an API version is disabled. Change-Id: I08404bf82f26173c68397e33f9e43fadf34ea15e
This commit is contained in:
		@@ -151,10 +151,6 @@ def application_factory(name='public'):
 | 
			
		||||
        # We want to bubble up Flask Exceptions (for now)
 | 
			
		||||
        PROPAGATE_EXCEPTIONS=True)
 | 
			
		||||
 | 
			
		||||
    # TODO(morgan): Remove "API version registration". For now this is kept
 | 
			
		||||
    # for ease of conversion (minimal changes)
 | 
			
		||||
    keystone.api.discovery.register_version('v3')
 | 
			
		||||
 | 
			
		||||
    for api in keystone.api.__apis__:
 | 
			
		||||
        for api_bp in api.APIs:
 | 
			
		||||
            api_bp.instantiate_and_register_to_app(app)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user