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:
Kristina
2025-08-26 10:14:05 -05:00
committed by GitHub
parent fc739de01d
commit 1c587a983f
5 changed files with 24 additions and 13 deletions
@@ -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)
})
}