From ff20d9f5af56761b2ea13fbeba993fbb4aa895f4 Mon Sep 17 00:00:00 2001 From: max furman Date: Mon, 8 Apr 2019 22:46:57 -0700 Subject: [PATCH] Fix composite literal uses unkeyed field --- authority/config.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/authority/config.go b/authority/config.go index 1aeb47aa..77854812 100644 --- a/authority/config.go +++ b/authority/config.go @@ -29,9 +29,9 @@ var ( } defaultDisableRenewal = false globalProvisionerClaims = provisioner.Claims{ - MinTLSDur: &provisioner.Duration{5 * time.Minute}, - MaxTLSDur: &provisioner.Duration{24 * time.Hour}, - DefaultTLSDur: &provisioner.Duration{24 * time.Hour}, + MinTLSDur: &provisioner.Duration{Duration: 5 * time.Minute}, + MaxTLSDur: &provisioner.Duration{Duration: 24 * time.Hour}, + DefaultTLSDur: &provisioner.Duration{Duration: 24 * time.Hour}, DisableRenewal: &defaultDisableRenewal, } )