Răsfoiți Sursa

fixed Scopes and AuthParams assignment

Jeremy Doupe 2 ani în urmă
părinte
comite
03c3cf5790
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      authority/provisioners.go

+ 2 - 2
authority/provisioners.go

@@ -1068,8 +1068,8 @@ func ProvisionerToLinkedca(p provisioner.Interface) (*linkedca.Provisioner, erro
 						Groups:                p.Groups,
 						Groups:                p.Groups,
 						ListenAddress:         p.ListenAddress,
 						ListenAddress:         p.ListenAddress,
 						TenantId:              p.TenantID,
 						TenantId:              p.TenantID,
-						Scopes:                cfg.Scopes,
-						AuthParams:            cfg.AuthParams,
+						Scopes:                p.Scopes,
+						AuthParams:            p.AuthParams,
 					},
 					},
 				},
 				},
 			},
 			},