mirror of
https://github.com/coder/coder.git
synced 2025-07-18 14:17:22 +00:00
@ -303,7 +303,7 @@ func (api *API) runEntitlementsLoop(ctx context.Context) {
|
||||
api.Logger.Debug(ctx, "successfully subscribed to pubsub")
|
||||
}
|
||||
|
||||
api.Logger.Info(ctx, "syncing licensed entitlements")
|
||||
api.Logger.Debug(ctx, "syncing licensed entitlements")
|
||||
err := api.updateEntitlements(ctx)
|
||||
if err != nil {
|
||||
api.Logger.Warn(ctx, "failed to get feature entitlements", slog.Error(err))
|
||||
|
@ -98,7 +98,8 @@ func Serve(ctx context.Context, options *ServeOptions) error {
|
||||
Product: product.Terraform,
|
||||
Version: TerraformVersion,
|
||||
}
|
||||
|
||||
installer.SetLogger(slog.Stdlib(ctx, options.Logger, slog.LevelDebug))
|
||||
options.Logger.Info(ctx, "installing terraform", slog.F("dir", options.CachePath), slog.F("version", TerraformVersion))
|
||||
execPath, err := installer.Install(ctx)
|
||||
if err != nil {
|
||||
return xerrors.Errorf("install terraform: %w", err)
|
||||
|
Reference in New Issue
Block a user