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

NOISSUE-Update initialization of instanceID #1873

Merged

Conversation

ianmuchyri
Copy link
Contributor

What does this do?

removes unnecessary instanceID initialization and instead uses cfg.InstanceID directly.

Which issue(s) does this PR fix/relate to?

List any changes that modify/break current functionality

none

Have you included tests for your changes?

no

Did you document any new/modified functionality?

no

Notes

Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>
@ianmuchyri ianmuchyri requested a review from a team as a code owner August 1, 2023 14:02
cmd/bootstrap/main.go Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Aug 1, 2023

Codecov Report

Merging #1873 (efe3367) into master (c8710ef) will not change coverage.
Report is 1 commits behind head on master.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1873   +/-   ##
=======================================
  Coverage   67.53%   67.53%           
=======================================
  Files         118      118           
  Lines        9457     9457           
=======================================
  Hits         6387     6387           
  Misses       2395     2395           
  Partials      675      675           
Files Changed Coverage Δ
users/policies/auth_grpc.pb.go 0.00% <ø> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>
Copy link
Member

@rodneyosodo rodneyosodo left a comment

Choose a reason for hiding this comment

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

Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>
Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>
Copy link
Member

@rodneyosodo rodneyosodo left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@drasko drasko left a comment

Choose a reason for hiding this comment

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

LGTM

@drasko drasko merged commit 518d582 into absmach:master Aug 2, 2023
3 checks passed
rodneyosodo pushed a commit to rodneyosodo/magistrala that referenced this pull request Aug 3, 2023
* update initialization of instanceID

Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>

* remove capital letter in error log

Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>

* rename instanceID to host.id

Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>

* remove previous fix

Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>

---------

Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>
Co-authored-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
WashingtonKK pushed a commit to WashingtonKK/magistrala that referenced this pull request Aug 4, 2023
* update initialization of instanceID

Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>

* remove capital letter in error log

Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>

* rename instanceID to host.id

Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>

* remove previous fix

Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>

---------

Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>
Co-authored-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
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