mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-09-17 19:44:35 -04:00
Rename all activation
This commit is contained in:
parent
2083d37b11
commit
1af18e990d
21 changed files with 83 additions and 83 deletions
|
@ -28,12 +28,12 @@ func run(issuer quoteIssuer, tpm vtpm.TPMOpenFunc, fileHandler file.Handler,
|
|||
defer cloudLogger.Close()
|
||||
cloudLogger.Disclose("bootstrapper started running...")
|
||||
|
||||
nodeActivated, err := vtpm.IsNodeInitialized(tpm)
|
||||
nodeBootstrapped, err := vtpm.IsNodeBootstrapped(tpm)
|
||||
if err != nil {
|
||||
logger.Fatal("failed to check for previous activation using vTPM", zap.Error(err))
|
||||
logger.Fatal("failed to check for previous bootstrapping using vTPM", zap.Error(err))
|
||||
}
|
||||
|
||||
if nodeActivated {
|
||||
if nodeBootstrapped {
|
||||
if err := kube.StartKubelet(); err != nil {
|
||||
logger.Fatal("failed to restart kubelet", zap.Error(err))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue