Skip to content

Commit 6497a15

Browse files
author
Patryk Wasielewski
committed
fix comment
1 parent 7588279 commit 6497a15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/splunk/enterprise/afwscheduler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,7 @@ func isAppAlreadyInstalled(ctx context.Context, cr splcommon.MetaObject, podExec
818818

819819
// Now check the actual command result
820820
if err != nil {
821-
// Kubernetes exec returns different error types for different exit codes
821+
// The command pipeline ends with 'grep ENABLED', so exit codes follow grep semantics:
822822
// For grep: exit code 1 = pattern not found, exit code 2+ = actual error
823823
errMsg := err.Error()
824824

0 commit comments

Comments
 (0)