We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7cd9b4e + 90dd2fb commit badad47Copy full SHA for badad47
pkg/syslog-ng-ctl/config.go
@@ -25,3 +25,8 @@ func OriginalConfig(ctx context.Context, cc ControlChannel) (string, error) {
25
func PreprocessedConfig(ctx context.Context, cc ControlChannel) (string, error) {
26
return cc.SendCommand(ctx, "CONFIG GET PREPROCESSED")
27
}
28
+
29
+// PreprocessedConfig sends the CONFIG ID command to syslog-ng
30
+func ConfigID(ctx context.Context, cc ControlChannel) (string, error) {
31
+ return cc.SendCommand(ctx, "CONFIG ID")
32
+}
0 commit comments