Missed a usage of int64Ptr in previous commit
This commit is contained in:
parent
4804c837d4
commit
22092e9aed
@ -60,8 +60,8 @@ func TestFromPath(t *testing.T) {
|
|||||||
},
|
},
|
||||||
APIConfig: APIConfigSpec{
|
APIConfig: APIConfigSpec{
|
||||||
ServingCertificateConfig: ServingCertificateConfigSpec{
|
ServingCertificateConfig: ServingCertificateConfigSpec{
|
||||||
DurationSeconds: int64Ptr(3600),
|
DurationSeconds: pointer.Int64Ptr(3600),
|
||||||
RenewBeforeSeconds: int64Ptr(2400),
|
RenewBeforeSeconds: pointer.Int64Ptr(2400),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
APIGroupSuffix: pointer.StringPtr("some.suffix.com"),
|
APIGroupSuffix: pointer.StringPtr("some.suffix.com"),
|
||||||
@ -110,8 +110,8 @@ func TestFromPath(t *testing.T) {
|
|||||||
APIGroupSuffix: pointer.StringPtr("pinniped.dev"),
|
APIGroupSuffix: pointer.StringPtr("pinniped.dev"),
|
||||||
APIConfig: APIConfigSpec{
|
APIConfig: APIConfigSpec{
|
||||||
ServingCertificateConfig: ServingCertificateConfigSpec{
|
ServingCertificateConfig: ServingCertificateConfigSpec{
|
||||||
DurationSeconds: int64Ptr(60 * 60 * 24 * 365), // about a year
|
DurationSeconds: pointer.Int64Ptr(60 * 60 * 24 * 365), // about a year
|
||||||
RenewBeforeSeconds: int64Ptr(60 * 60 * 24 * 30 * 9), // about 9 months
|
RenewBeforeSeconds: pointer.Int64Ptr(60 * 60 * 24 * 30 * 9), // about 9 months
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
NamesConfig: NamesConfigSpec{
|
NamesConfig: NamesConfigSpec{
|
||||||
|
Loading…
Reference in New Issue
Block a user