Skip to content

Conversation

@paulfantom
Copy link
Contributor

Fixing #358

Description

Removing deprecated flags.

Type of change

What type of changes does your code introduce to tobs? Put an x in the box that apply.

  • CHANGE (fix or feature that would cause existing functionality to not work as expected)
  • FEATURE (non-breaking change which adds functionality)
  • BUGFIX (non-breaking change which fixes an issue)
  • ENHANCEMENT (non-breaking change which improves existing functionality)
  • NONE (if none of the other choices apply. Example, tooling, build system, CI, docs, etc.)

@paulfantom paulfantom requested a review from a team as a code owner May 27, 2022 10:17
@paulfantom paulfantom requested a review from onprem May 27, 2022 10:29
Copy link
Contributor

@onprem onprem left a comment

Choose a reason for hiding this comment

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

Looks good. Just a small nit.

}
if cmd.Flags().Changed("skip-wait") {
fmt.Println("DEPRECATED flag used: 'skip-wait'. This flag will be removed in future versions of tobs. Feature is now disabled by default to allow smooth installation of opentelemetry components")
fmt.Println("REMOVED flag used: 'skip-wait'. This flag will be removed in future versions of tobs. Feature is now disabled by default to allow smooth installation of opentelemetry components")
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
fmt.Println("REMOVED flag used: 'skip-wait'. This flag will be removed in future versions of tobs. Feature is now disabled by default to allow smooth installation of opentelemetry components")
fmt.Println("REMOVED flag used: 'skip-wait'. Feature is now disabled by default to allow smooth installation of opentelemetry components")

small nit: The flag is already removed, so let's remove this line as well (as done in other notices).

Signed-off-by: Paweł Krupa (paulfantom) <pawel@krupa.net.pl>
@paulfantom paulfantom enabled auto-merge May 30, 2022 05:00
@paulfantom paulfantom merged commit a2b809c into timescale:master May 30, 2022
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.

2 participants