Skip to content

Commit

Permalink
fscrypt other
Browse files Browse the repository at this point in the history
  • Loading branch information
RebeccaMahany committed Feb 16, 2024
1 parent 3e85285 commit 4f39d56
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions ee/tables/fscrypt_info/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,15 @@ package fscrypt_info
import (
"context"
"errors"
"log/slog"
"runtime"

Check failure on line 10 in ee/tables/fscrypt_info/generate.go

View workflow job for this annotation

GitHub Actions / lint (macos-latest)

"runtime" imported and not used (typecheck)

Check failure on line 10 in ee/tables/fscrypt_info/generate.go

View workflow job for this annotation

GitHub Actions / lint (macos-latest)

"runtime" imported and not used (typecheck)

Check failure on line 10 in ee/tables/fscrypt_info/generate.go

View workflow job for this annotation

GitHub Actions / launcher (macos-12)

"runtime" imported and not used

Check failure on line 10 in ee/tables/fscrypt_info/generate.go

View workflow job for this annotation

GitHub Actions / launcher (windows-latest)

"runtime" imported and not used

"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")
}

0 comments on commit 4f39d56

Please sign in to comment.