Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@andy89923
Copy link
Contributor

No description provided.

@andy89923 andy89923 marked this pull request as draft July 15, 2025 09:45
@andy89923 andy89923 requested a review from Copilot July 15, 2025 11:11
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Update project to use Go 1.24, bump related dependencies, and refresh lint and CI configurations.

  • Bump Go version in go.mod and workflows to 1.24 and update toolchains/actions.
  • Update error message formatting in config.go and server.go.
  • Overhaul .golangci.yml with new version, linters, and settings.

Reviewed Changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated no comments.

Show a summary per file
File Description
pkg/factory/config.go Lowercased “Invalid” in error wrap for Go 1.24 style consistency
internal/sbi/server.go Adjusted error message text for unsupported scheme
internal/sbi/processor/nf_discovery.go Simplified boolean logic in query parameter validation
go.mod Bump Go version to 1.24; update openapi module version
.golangci.yml Revamped lint config to version 2 syntax and customized rules
.github/workflows/golangci-lint.yml Updated Go matrix and golangci-lint action to v8
.github/workflows/go.yml Bumped Go matrix to 1.24
Comments suppressed due to low confidence (1)

internal/sbi/server.go:133

  • [nitpick] Rephrase this error message for clarity and Go conventions, e.g. fmt.Errorf("unsupported scheme [%s]", serverScheme), including a space before the bracket.
		err = fmt.Errorf("not support this scheme[%s]", serverScheme)

@andy89923 andy89923 marked this pull request as ready for review July 15, 2025 15:53
@Alonza0314
Copy link
Contributor

Thanks a lot!
I've planned to upgrade all NFs on Thursday with update the version of util/openapi/nas/ngap.😆

@ianchen0119 ianchen0119 merged commit eb00d20 into free5gc:main Jul 18, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants