Skip to content

Commit

Permalink
chore: upgade argo cli to v2.10.x (#844)
Browse files Browse the repository at this point in the history
  • Loading branch information
whynowy committed Aug 28, 2020
1 parent 943c0dc commit cb526d5
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
Binary file modified assets/argo-linux-amd64
Binary file not shown.
2 changes: 1 addition & 1 deletion controllers/eventbus/controller.go
Expand Up @@ -70,7 +70,7 @@ func (r *reconciler) reconcile(ctx context.Context, eventBus *v1alpha1.EventBus)
// Finalizer logic should be added here.
err := installer.Uninstall(eventBus, r.client, r.natsStreamingImage, r.natsMetricsImage, log)
if err != nil {
log.Error(err, "failed to uninstall")
log.Errorw("failed to uninstall", "error", err)
return nil
}
r.removeFinalizer(eventBus)
Expand Down
2 changes: 1 addition & 1 deletion controllers/eventsource/controller.go
Expand Up @@ -75,7 +75,7 @@ func (r *reconciler) reconcile(ctx context.Context, eventSource *v1alpha1.EventS
eventSource.Status.InitConditions()
err := ValidateEventSource(eventSource)
if err != nil {
log.Desugar().Error("validation error", zap.Error(err))
log.Errorw("validation error", "error", err)
return err
}
args := &AdaptorArgs{
Expand Down
2 changes: 1 addition & 1 deletion controllers/sensor/controller.go
Expand Up @@ -91,7 +91,7 @@ func (r *reconciler) reconcile(ctx context.Context, sensor *v1alpha1.Sensor) err
sensor.Status.InitConditions()
err := ValidateSensor(sensor)
if err != nil {
log.Error(err, "validation error")
log.Errorw("validation error", "error", err)
}
args := &AdaptorArgs{
Image: r.sensorImage,
Expand Down

0 comments on commit cb526d5

Please sign in to comment.