Skip to content

Commit

Permalink
chore: added taskrun script moduleDisable
Browse files Browse the repository at this point in the history
  • Loading branch information
tmilos77 committed Jul 9, 2024
1 parent 8865715 commit 37e4532
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pkg/common/actions/focal/loadScopeFromRef.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,12 @@ func loadScopeFromRef(ctx context.Context, st composed.State) (error, context.Co
"scopeNamespace", state.ObjAsCommonObj().GetNamespace(),
)
ctx = composed.LoggerIntoCtx(ctx, logger)
logger.Info("Loading Scope from reference")
logger.
WithValues(
"scopeName", state.ObjAsCommonObj().ScopeRef().Name,
"scopeNamespace", state.ObjAsCommonObj().GetNamespace(),
).
Info("Loading Scope from reference")

scope := &cloudcontrolv1beta1.Scope{}
err := state.Cluster().K8sClient().Get(ctx, types.NamespacedName{
Expand Down

0 comments on commit 37e4532

Please sign in to comment.