Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

TemplateRepo Auth pointer #497

Merged
merged 1 commit into from
Jun 16, 2020
Merged

Conversation

ebuckle
Copy link
Contributor

@ebuckle ebuckle commented Jun 16, 2020

Signed-off-by: Edward Buckle [email protected]

What type of PR is this ?

  • Bug fix
  • Enhancement

What does this PR do ?

Change the type of Authentication in the TemplateRepo object to be a pointer. This enables omitempty to properly hide the field when it is not returned from PFE

Which issue(s) does this PR fix ?

eclipse-archived/codewind#3101

Link to the Codewind repository issue(s) this PR fixes or references:

Does this PR require a documentation change ?

No

Any special notes for your reviewer ?

None

Signed-off-by: Edward Buckle <[email protected]>
@codecov
Copy link

codecov bot commented Jun 16, 2020

Codecov Report

Merging #497 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #497   +/-   ##
=======================================
  Coverage   19.77%   19.77%           
=======================================
  Files          81       81           
  Lines        7061     7061           
=======================================
  Hits         1396     1396           
  Misses       5495     5495           
  Partials      170      170           
Impacted Files Coverage Δ
pkg/utils/templates.go 12.28% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 50b3309...451bee7. Read the comment docs.

Copy link
Contributor

@hhellyer hhellyer left a comment

Choose a reason for hiding this comment

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

LGTM - Very simple fix in the end.

@hhellyer hhellyer merged commit 6f698af into eclipse-archived:master Jun 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants