Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit113f345

Browse files
committed
change terraform download warning to debug log
1 parent96eb1eb commit113f345

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎provisioner/terraform/serve.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ func absoluteBinaryPath(ctx context.Context, logger slog.Logger) (string, error)
6363
return"",xerrors.Errorf("Terraform binary get version failed: %w",err)
6464
}
6565

66-
logger.Info(ctx,"detected terraform version",
66+
logger.Debug(ctx,"detected terraform version",
6767
slog.F("installed_version",installedVersion.String()),
6868
slog.F("min_version",minTerraformVersion.String()),
6969
slog.F("max_version",maxTerraformVersion.String()))
@@ -97,7 +97,7 @@ func Serve(ctx context.Context, options *ServeOptions) error {
9797
returnxerrors.Errorf("absolute binary context canceled: %w",err)
9898
}
9999

100-
options.Logger.Warn(ctx,"no usable terraform binary found, downloading to cache dir",
100+
options.Logger.Debug(ctx,"no usable terraform binary found, downloading to cache dir",
101101
slog.F("terraform_version",TerraformVersion.String()),
102102
slog.F("cache_dir",options.CachePath))
103103
binPath,err:=Install(ctx,options.Logger,options.CachePath,TerraformVersion)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp