feat(hostcatalogs): Classify all proto fields
This commit is contained in:
1 parent
5440195cce
commit
8fa3e8dee0
11 files changed
+446
-219
No files matched your search
@@ -714,7 +714,9 @@ func toPluginCatalog(ctx context.Context, in *HostCatalog) (*pb.HostCatalog, err
|
||||
if err := proto.Unmarshal(in.GetAttributes(), attrs); err != nil {
|
||||
return nil, errors.Wrap(ctx, err, op, errors.WithMsg("unable to unmarshal attributes"))
|
||||
}
|
||||
hc.Attributes = attrs
|
||||
hc.Attrs = &pb.HostCatalog_Attributes{
|
||||
Attributes: attrs,
|
||||
}
|
||||
}
|
||||
if in.Secrets != nil {
|
||||
hc.Secrets = in.Secrets
|
||||
|
||||
Reference in new issue
Block a user