Skip to content

Commit

Permalink
use ISO 8601 year number for logs path
Browse files Browse the repository at this point in the history
  • Loading branch information
tedim52 committed Jan 2, 2025
1 parent 7007fb4 commit a6c4bf6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const (
// We instruct vector to store log files per-year, per-week (00-53), per-enclave, per-service
// To construct the filepath, we utilize vectors template syntax that allows us to reference fields in log events
// https://vector.dev/docs/reference/configuration/template-syntax/
baseLogsFilepath = "\"" + logsStorageDirpath + "%%Y/%%V/"
baseLogsFilepath = "\"" + logsStorageDirpath + "%%G/%%V/"

uuidLogsFilepath = baseLogsFilepath + "{{ enclave_uuid }}/{{ service_uuid }}.json\""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func TestCopyValueTuple(t *testing.T) {
valueCopy, err := DeepCopyArgumentValue(value)
require.NoError(t, err)
require.Equal(t, valueCopy, value)
require.NotSame(t, valueCopy, value)
require.NotSame(t, &valueCopy, &value)
}

func TestCopyValueDict(t *testing.T) {
Expand Down

0 comments on commit a6c4bf6

Please sign in to comment.