Skip to content

Commit

Permalink
Merge pull request #447 from openinfradev/policy_notification
Browse files Browse the repository at this point in the history
trivial. enable log for policyNotification
  • Loading branch information
ktkfree authored Apr 29, 2024
2 parents 96f2b0a + b0d49bf commit 75f8e4c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/usecase/system-notification.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (
"time"

"github.com/google/uuid"
"github.com/openinfradev/tks-api/internal/helper"
"github.com/openinfradev/tks-api/internal/mail"
"github.com/openinfradev/tks-api/internal/middleware/auth/request"
"github.com/openinfradev/tks-api/internal/model"
Expand Down Expand Up @@ -57,6 +58,8 @@ func (u *SystemNotificationUsecase) Create(ctx context.Context, input domain.Cre
return fmt.Errorf("No data found")
}

log.Info(ctx, helper.ModelToJson(input))

allClusters, err := u.clusterRepo.Fetch(ctx, nil)
if err != nil {
return fmt.Errorf("No clusters")
Expand Down

0 comments on commit 75f8e4c

Please sign in to comment.