mirror of
https://github.com/project-zot/zot.git
synced 2026-06-17 04:48:26 +08:00
fix: running tests locally fails (#1879)
Signed-off-by: Alexei Dodon <adodon@cisco.com>
This commit is contained in:
@@ -2012,6 +2012,7 @@ func TestMandatoryAnnotations(t *testing.T) {
|
||||
|
||||
logFile, err := os.CreateTemp("", "zot-log*.txt")
|
||||
So(err, ShouldBeNil)
|
||||
defer os.Remove(logFile.Name())
|
||||
|
||||
destConfig.Log.Output = logFile.Name()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user