Skip to content

Commit

Permalink
Add more context to logs.
Browse files Browse the repository at this point in the history
  • Loading branch information
gargravarr committed Dec 14, 2023
1 parent b270a78 commit cb044b0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions controller/stackset.go
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,9 @@ func (c *StackSetController) injectSegmentAnnotation(
stackSet,
v1.EventTypeNormal,
"UpdatedStackSet",
"Updated StackSet %s",
"Updated StackSet %s. Injected %s annotation",
stackSet.Name,
TrafficSegmentsAnnotationKey,
)

return true
Expand Down Expand Up @@ -1110,7 +1111,7 @@ func (c *StackSetController) convertToTrafficSegments(
ssc.StackSet,
v1.EventTypeNormal,
"DeletedIngress",
"Deleted Ingress %s, StackSet conversion complete",
"Deleted Ingress %s, StackSet conversion to traffic segments complete",
ssc.Ingress.Namespace,
)

Expand Down Expand Up @@ -1142,7 +1143,7 @@ func (c *StackSetController) convertToTrafficSegments(
ssc.RouteGroup,
v1.EventTypeNormal,
"DeletedRouteGroup",
"Deleted RouteGroup %s, StackSet conversion complete",
"Deleted RouteGroup %s, StackSet conversion to traffic segments complete",
ssc.RouteGroup.Namespace,
)

Expand Down

0 comments on commit cb044b0

Please sign in to comment.