outposts: improve validation of providers (must match outpost type)
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
		| @ -65,6 +65,8 @@ def outpost_service_connection_state(connection_pk: Any): | ||||
|         .select_subclasses() | ||||
|         .first() | ||||
|     ) | ||||
|     if not connection: | ||||
|         return | ||||
|     state = connection.fetch_state() | ||||
|     cache.set(connection.state_key, state, timeout=None) | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Jens Langhammer
					Jens Langhammer