populate correct field for host catalog secret (#1661)
This commit is contained in:
1 parent
b9269ce93c
commit
1bc9a07316
1 file changed
+1
-1
@@ -133,7 +133,7 @@ func (agg *catalogAgg) toCatalogAndPersisted() (*HostCatalog, *HostCatalogSecret
|
||||
if len(agg.Secret) > 0 {
|
||||
s = allocHostCatalogSecret()
|
||||
s.CatalogId = agg.PublicId
|
||||
s.Secret = agg.Secret
|
||||
s.CtSecret = agg.Secret
|
||||
s.KeyId = agg.KeyId
|
||||
s.CreateTime = agg.PersistedCreateTime
|
||||
s.UpdateTime = agg.PersistedUpdateTime
|
||||
|
||||
Reference in new issue
Block a user