Skip to content

Commit 4303809

Browse files
committed
fix linting
1 parent 82c6c73 commit 4303809

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

pkg/auth/monitored_token_source.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ import (
66
"sync"
77
"time"
88

9-
"github.com/stacklok/toolhive/pkg/container/runtime"
109
"golang.org/x/oauth2"
10+
11+
"github.com/stacklok/toolhive/pkg/container/runtime"
1112
)
1213

1314
// StatusUpdater is an interface for updating workload authentication status.

pkg/runner/runner.go

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,13 @@ type statusManagerAdapter struct {
6666
sm statuses.StatusManager
6767
}
6868

69-
func (a *statusManagerAdapter) SetWorkloadStatus(ctx context.Context, workloadName string, status rt.WorkloadStatus, reason string) error {
69+
func (a *statusManagerAdapter) SetWorkloadStatus(
70+
ctx context.Context,
71+
workloadName string,
72+
status rt.WorkloadStatus,
73+
reason string,
74+
) error {
75+
logger.Debugf("Setting workload status: %s, %s, %s", workloadName, status, reason)
7076
return a.sm.SetWorkloadStatus(ctx, workloadName, status, reason)
7177
}
7278

0 commit comments

Comments
 (0)