Skip to content

Commit

Permalink
fix: don't marshal clock with SecretsBundle
Browse files Browse the repository at this point in the history
This field is not marshalable, as it's technically an interface.

This will be used to save/load SecretsBundle as a whole in the CABPT.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
  • Loading branch information
smira committed Sep 20, 2021
1 parent b27c75b commit 1cb9f28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/machinery/config/types/v1alpha1/generate/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ type TrustdInfo struct {

// SecretsBundle holds trustd, kubeadm and certs information.
type SecretsBundle struct {
Clock Clock
Clock Clock `yaml:"-" json:"-"`
Cluster *Cluster
Secrets *Secrets
TrustdInfo *TrustdInfo
Expand Down

0 comments on commit 1cb9f28

Please sign in to comment.