We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc37447 commit 8ff2f28Copy full SHA for 8ff2f28
1 file changed
pkg/ansisql/operator.go
@@ -74,6 +74,9 @@ func (o *QuerySensor) RunTask(ctx context.Context, p *pipeline.Pipeline, t *pipe
74
for {
75
select {
76
case <-timeout:
77
+ if printerExists {
78
+ fmt.Fprint(printer, "Sensor timed out after 24 hours")
79
+ }
80
return errors.New("Sensor timed out after 24 hours")
81
default:
82
if querier, ok := conn.(interface {
0 commit comments