Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
Signed-off-by: fisherxu <[email protected]>
  • Loading branch information
fisherxu authored and WillardHu committed Jul 17, 2024
1 parent 6b3caf8 commit 1c24cb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloud/pkg/cloudhub/servers/httpserver/signcerts.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func GenerateAndRefresh(ctx context.Context) error {
caHashToken, err = token.Create(hubconfig.Config.Ca, hubconfig.Config.CaKey,
hubconfig.Config.CloudHub.TokenRefreshDuration)
if err != nil {
klog.Error("failed to refresh the token for edgecore register, err: %v", err)
klog.Errorf("failed to refresh the token for edgecore register, err: %v", err)
}
case <-ctx.Done():
break
Expand Down

0 comments on commit 1c24cb7

Please sign in to comment.