Add environment id to periodical monitoring events.

This commit is contained in:
Maximilian Paß
2022-08-19 22:06:39 +02:00
parent 5590c50e14
commit 1eef26cc83
4 changed files with 16 additions and 6 deletions

View File

@ -106,7 +106,7 @@ func TestNewNomadEnvironmentManager(t *testing.T) {
})
t.Run("loads template environment job from file", func(t *testing.T) {
templateJobHCL := "job \"test\" {}"
templateJobHCL := "job \"" + tests.DefaultTemplateJobID + "\" {}"
_, err := NewNomadEnvironment(nil, templateJobHCL)
require.NoError(t, err)
f := createTempFile(t, templateJobHCL)