Skip to content

Commit

Permalink
Remove serverClient and pass nil
Browse files Browse the repository at this point in the history
  • Loading branch information
RachelElysia committed Oct 20, 2023
1 parent e2710ec commit 188803e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions orbit/pkg/table/extension.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ func OrbitDefaultTables() []osquery.OsqueryPlugin {
table.NewPlugin("sntp_request", sntp_request.Columns(), sntp_request.GenerateFunc),

// Kolide extensions.
zfs.ZfsPropertiesPlugin(serverClient, kolideLogger), // table name is "kolide_zfs"
zfs.ZpoolPropertiesPlugin(serverClient, kolideLogger), // table name is "kolide_zfs"
zfs.ZfsPropertiesPlugin(nil, kolideLogger), // table name is "kolide_zfs"
zfs.ZpoolPropertiesPlugin(nil, kolideLogger), // table name is "kolide_zfs"
}
return plugins
}
Expand Down
2 changes: 1 addition & 1 deletion orbit/pkg/table/extension_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,6 @@ func PlatformTables() []osquery.OsqueryPlugin {
table.NewPlugin("macadmins_unified_log", unifiedlog.UnifiedLogColumns(), unifiedlog.UnifiedLogGenerate),

// Kolide tables
systemprofiler.TablePlugin(serverClient, kolideLogger), // table name is "kolide_systemprofiler"
systemprofiler.TablePlugin(nil, kolideLogger), // table name is "kolide_systemprofiler"
}
}
4 changes: 2 additions & 2 deletions orbit/pkg/table/extension_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
func PlatformTables() []osquery.OsqueryPlugin {
return []osquery.OsqueryPlugin{
// Kolide tables
xconf.TablePlugin(serverClient, kolideLogger), // table name is "kolide_xconf"
xrdb.TablePlugin(serverClient, kolideLogger), // table name is "kolide_xrdb"
xconf.TablePlugin(nil, kolideLogger), // table name is "kolide_xconf"
xrdb.TablePlugin(nil, kolideLogger), // table name is "kolide_xrdb"
}
}

0 comments on commit 188803e

Please sign in to comment.