Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tedim52 committed Nov 29, 2023
1 parent e52fdce commit e5d8454
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions engine/server/engine/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,7 @@ func getKurtosisBackend(ctx context.Context, kurtosisBackendType args.KurtosisBa
return kurtosisBackend, nil
}

// if cluster is docker, return logs client for centralized logging, otherwise use logs db of kurtosis backend which uses k8s logs under the hood
func getLogsDatabaseClient(kurtosisBackendType args.KurtosisBackendType, kurtosisBackend backend_interface.KurtosisBackend) centralized_logs.LogsDatabaseClient {
var logsDatabaseClient centralized_logs.LogsDatabaseClient
switch kurtosisBackendType {
Expand Down

0 comments on commit e5d8454

Please sign in to comment.