Correlations: Add better handling to correlation type and update documentation (#109922)
* Add better type handling when correlation is created from provisioning and fix documentation * add external example * change error when deprecated key is used
This commit is contained in:
@@ -175,6 +175,6 @@ func TestIntegrationCreateOrUpdateCorrelation(t *testing.T) {
|
||||
})
|
||||
|
||||
require.Error(t, err)
|
||||
require.ErrorIs(t, err, correlations.ErrInvalidConfigType)
|
||||
require.ErrorIs(t, err, correlations.ErrConfigTypeDeprecated)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user