Skip to content

Commit 5903b74

Browse files
synaretemergify[bot]
authored andcommitted
resources: verbose logging upon smbshare completion
A user may define multiple smbshares within different namespace, where each has its own reconcile cycle. Have more details in completion log message so that developer may know exactly which smbshare completed. Signed-off-by: Shachar Sharon <[email protected]>
1 parent 6be54e3 commit 5903b74

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

internal/resources/smbshare.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,11 @@ func (m *SmbShareManager) Update(
184184
return result
185185
}
186186

187-
m.logger.Info("Done updating SmbShare resources")
187+
m.logger.Info(
188+
"Done updating SmbShare resources",
189+
"SmbShare.Namespace", instance.Namespace,
190+
"SmbShare.Name", instance.Name,
191+
"Annotations", instance.Annotations)
188192
return Done
189193
}
190194

0 commit comments

Comments
 (0)