Skip to content

Commit 370da65

Browse files
committed
adjust package docs
1 parent 9aef978 commit 370da65

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

ephemeral/open.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,8 @@ type OpenResponse struct {
5959
// the (EphemeralResource).Renew method when the current date/time is on
6060
// or after RenewAt during a Terraform operation.
6161
//
62-
// It is recommended to provide small leeway before an ephemeral resource
63-
// expires, usually no more than a few minutes, to account for clock
64-
// skew.
62+
// It is recommended to add extra time (usually no more than a few minutes)
63+
// before an ephemeral resource expires to account for latency.
6564
RenewAt time.Time
6665

6766
// Diagnostics report errors or warnings related to opening the ephemeral

ephemeral/renew.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,8 @@ type RenewResponse struct {
3333
// the (EphemeralResource).Renew method when the current date/time is on
3434
// or after RenewAt during a Terraform operation.
3535
//
36-
// It is recommended to provide small leeway before an ephemeral resource
37-
// expires, usually no more than a few minutes, to account for clock
38-
// skew.
36+
// It is recommended to add extra time (usually no more than a few minutes)
37+
// before an ephemeral resource expires to account for latency.
3938
RenewAt time.Time
4039

4140
// Private is the private state ephemeral resource data following the

0 commit comments

Comments
 (0)