Skip to content

Commit 3e3dae8

Browse files
committed
fix: typo fix log message
1 parent 2c75251 commit 3e3dae8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

go/nautobotop/internal/controller/nautobot_controller.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,10 +186,10 @@ func (r *NautobotReconciler) syncLocationTypes(ctx context.Context,
186186
) error {
187187
log := logf.FromContext(ctx)
188188

189-
log.Info("syncing device types", "deviceTypeCount", len(locationType))
189+
log.Info("syncing location types", "locationTypeCount", len(locationType))
190190
syncSvc := sync.NewLocationTypeSync(nautobotClient)
191191
if err := syncSvc.SyncAll(ctx, locationType); err != nil {
192-
return fmt.Errorf("failed to sync device types: %w", err)
192+
return fmt.Errorf("failed to sync location types: %w", err)
193193
}
194194

195195
return nil

0 commit comments

Comments
 (0)