Skip to content

Commit

Permalink
Update pkg/common/plugin/azure/msi.go
Browse files Browse the repository at this point in the history
Signed-off-by: Guilherme Carvalho <guilhermbrsp@gmail.com>

Co-authored-by: Andrew Harding <azdagron@gmail.com>
  • Loading branch information
guilhermocc and azdagron authored Oct 13, 2022
1 parent 4077887 commit fa1ff86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/common/plugin/azure/msi.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ type agentPathTemplateData struct {

func MakeAgentID(td spiffeid.TrustDomain, agentPathTemplate *agentpathtemplate.Template, claims *MSITokenClaims) (spiffeid.ID, error) {
agentPath, err := agentPathTemplate.Execute(agentPathTemplateData{
*claims,
PluginName,
MSITokenClaims: *claims,
PluginName: PluginName,
})
if err != nil {
return spiffeid.ID{}, err
Expand Down

0 comments on commit fa1ff86

Please sign in to comment.