Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NEOS-1567: fixes nil pointer error in cli sync #2859

Merged

Conversation

nickzelei
Copy link
Member

No description provided.

@nickzelei nickzelei added the bug Something isn't working label Oct 24, 2024
Copy link

linear bot commented Oct 24, 2024

Copy link

vercel bot commented Oct 24, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
neosync-docs ⬜️ Ignored (Inspect) Oct 24, 2024 11:06pm

c.logger.Info("No tables found.")
return nil, nil
c.logger.Warn("no tables found after retrieving connection schema.")
return &schemaConfig{}, nil
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was the fix.

Copy link

codecov bot commented Oct 24, 2024

Codecov Report

Attention: Patch coverage is 0% with 11 lines in your changes missing coverage. Please review.

Project coverage is 39.10%. Comparing base (d4eaa40) to head (bcb6c64).
Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
cli/internal/cmds/neosync/sync/sync.go 0.00% 11 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2859      +/-   ##
==========================================
+ Coverage   39.09%   39.10%   +0.01%     
==========================================
  Files         303      303              
  Lines       35315    35315              
==========================================
+ Hits        13806    13811       +5     
+ Misses      19841    19839       -2     
+ Partials     1668     1665       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nickzelei nickzelei merged commit 63e8271 into main Oct 24, 2024
10 of 11 checks passed
@nickzelei nickzelei deleted the nick/neos-1567-s3-db-nil-pointer-error-with-empty-tables branch October 24, 2024 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants