Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Fox <[email protected]>
  • Loading branch information
kfox1111 committed Nov 6, 2024
1 parent 2f1166d commit aab491a
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions pkg/server/plugin/nodeattestor/x509pop/x509pop.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ type Config struct {
}

type configuration struct {
mode string
svidPrefix string
trustDomain spiffeid.TrustDomain
trustBundle *x509.CertPool
pathTemplate *agentpathtemplate.Template
mode string
svidPrefix string
trustDomain spiffeid.TrustDomain
trustBundle *x509.CertPool
pathTemplate *agentpathtemplate.Template
}

func buildConfig(coreConfig catalog.CoreConfig, hclText string, status *pluginconf.Status) *configuration {
Expand Down Expand Up @@ -117,11 +117,11 @@ func buildConfig(coreConfig catalog.CoreConfig, hclText string, status *pluginco
}

newConfig := &configuration{
trustDomain: coreConfig.TrustDomain,
trustBundle: util.NewCertPool(trustBundles...),
pathTemplate: pathTemplate,
mode: hclConfig.Mode,
svidPrefix: svidPrefix,
trustDomain: coreConfig.TrustDomain,
trustBundle: util.NewCertPool(trustBundles...),
pathTemplate: pathTemplate,
mode: hclConfig.Mode,
svidPrefix: svidPrefix,
}

return newConfig
Expand Down

0 comments on commit aab491a

Please sign in to comment.