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

Refactor: Move JobID label suffix to constants #2852

Merged
merged 2 commits into from
Apr 30, 2024

Conversation

mabhi
Copy link
Contributor

@mabhi mabhi commented Apr 30, 2024

Change Overview

String JobID is used as static constant text at different places by basically re-declaring. In order to make it uniformly accessible from within the project as well others importing it.
This PR addresses the above constraint and make it available as a public const.

Pull request type

Please check the type of change your PR introduces:

  • 🚧 Work in Progress
  • 🌈 Refactoring (no functional changes, no api changes)
  • 🐹 Trivial/Minor
  • πŸ› Bugfix
  • 🌻 Feature
  • πŸ—ΊοΈ Documentation
  • πŸ€– Test

Issues

  • fixes #issue-number

Test Plan

  • πŸ’ͺ Manual
  • ⚑ Unit test
  • πŸ’š E2E

Signed-off-by: Abhijit Mukherjee <abhijit.mukherjee@infracloud.io>
@infraq infraq added this to In Progress in Kanister Apr 30, 2024
@mabhi mabhi changed the title Refactor JobID label suffix moving to constants Refactor: Move JobID label suffix to constants Apr 30, 2024
@mabhi mabhi requested a review from PrasadG193 April 30, 2024 06:30
pkg/consts/consts.go Outdated Show resolved Hide resolved
Kanister automation moved this from In Progress to Reviewer approved Apr 30, 2024
Signed-off-by: Abhijit Mukherjee <abhijit.mukherjee@infracloud.io>
@mabhi mabhi added the kueue label Apr 30, 2024
@mergify mergify bot merged commit 0204bc1 into master Apr 30, 2024
15 checks passed
Kanister automation moved this from Reviewer approved to Done Apr 30, 2024
@mergify mergify bot deleted the introduce-jobid-label-const branch April 30, 2024 06:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants