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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump dependencies #7554

Merged
merged 7 commits into from
Feb 15, 2024
Merged

Bump dependencies #7554

merged 7 commits into from
Feb 15, 2024

Conversation

yuxiang-zhang
Copy link
Member

Description

Closes #7472 #7492 #7494 #7506 #7508 #7510 #7514 #7527 #7528 #7529 #7531 #7532 #7533 #7534 #7535 #7536 #7537 #7544 #7545 #7546 #7547

Checklist

  • Added tests that cover your change (if possible)
  • Added/modified documentation as required (such as the README.md, or the userdocs directory)
  • Manually tested
  • Made sure the title of the PR is a good description that can go into the release notes
  • (Core team) Added labels for change area (e.g. area/nodegroup) and kind (e.g. kind/improvement)

BONUS POINTS checklist: complete for good vibes and maybe prizes?! 馃く

  • Backfilled missing tests for code in same general area 馃帀
  • Refactored something and made the world a better place 馃専

@yuxiang-zhang yuxiang-zhang added dependencies Pull requests that update a dependency file area/tech-debt Leftover improvements in code, testing and building labels Feb 15, 2024
@yuxiang-zhang yuxiang-zhang mentioned this pull request Feb 15, 2024
7 tasks
Comment on lines 543 to 547
expander := restmapper.NewShortcutExpander(mapper, discoveryClient, nil)
return expander, nil
}
Copy link
Member

@a-hilaly a-hilaly Feb 15, 2024

Choose a reason for hiding this comment

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

I'm not super sure if this is correct to do (passing a nil function)

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

Maybe we can pass a function that will log the warning?

@@ -540,7 +540,7 @@ func (c *SimpleRESTClientGetter) ToRESTMapper() (meta.RESTMapper, error) {
}

mapper := restmapper.NewDeferredDiscoveryRESTMapper(discoveryClient)
expander := restmapper.NewShortcutExpander(mapper, discoveryClient)
expander := restmapper.NewShortcutExpander(mapper, discoveryClient, 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.

Suggested change
expander := restmapper.NewShortcutExpander(mapper, discoveryClient, nil)
expander := restmapper.NewShortcutExpander(mapper, discoveryClient, func(a string) {
logger.Warning("unexpected warning message %s", a)
})

Copy link
Member Author

Choose a reason for hiding this comment

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

how about this? @a-hilaly

Copy link
Member

Choose a reason for hiding this comment

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

That's great!

Copy link
Member

@a-hilaly a-hilaly left a comment

Choose a reason for hiding this comment

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

Thank you @yuxiang-zhang !

@yuxiang-zhang yuxiang-zhang merged commit 06029b0 into main Feb 15, 2024
10 checks passed
@yuxiang-zhang yuxiang-zhang deleted the bump-deps branch February 15, 2024 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/tech-debt Leftover improvements in code, testing and building dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants