From 13cbef8006b3d06be0b8fcd99f49fc5df854a0b8 Mon Sep 17 00:00:00 2001 From: RebeccaMahany Date: Fri, 16 Feb 2024 16:00:08 -0500 Subject: [PATCH] fscrypt other --- ee/tables/fscrypt_info/generate.go | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/ee/tables/fscrypt_info/generate.go b/ee/tables/fscrypt_info/generate.go index 8a7a74c6f..6e7fe2c24 100644 --- a/ee/tables/fscrypt_info/generate.go +++ b/ee/tables/fscrypt_info/generate.go @@ -6,16 +6,14 @@ package fscrypt_info import ( "context" "errors" - "runtime" + "log/slog" - "github.com/go-kit/kit/log/level" "github.com/osquery/osquery-go/plugin/table" ) func (t *Table) generate(ctx context.Context, queryContext table.QueryContext) ([]map[string]string, error) { - level.Info(t.logger).Log( - "msg", tableName+" is only supported on linux", - "goos", runtime.GOOS, + t.slogger.Log(ctx, slog.LevelInfo, + "table only supported on linux", ) return nil, errors.New("Platform Unsupported") }