Skip to content

change args value to empty interface#70

Merged
PrasadG193 merged 1 commit intomainfrom
args_type_change
May 18, 2021
Merged

change args value to empty interface#70
PrasadG193 merged 1 commit intomainfrom
args_type_change

Conversation

@sahil-lakhwani
Copy link
Copy Markdown
Contributor

Signed-off-by: sahil-lakhwani sahilakhwani@gmail.com

The Args field in App is currently map[string]string, so values always are string type`. This may post challenges in the code where the actual type of the argument value is needed.

Changing it to empty map[string]interfcae{} so that the code can type assert it to the actual type.

Have tested kbrew helm installations with args after this change.

Signed-off-by: sahil-lakhwani <sahilakhwani@gmail.com>
@PrasadG193 PrasadG193 merged commit 5092d44 into main May 18, 2021
@PrasadG193 PrasadG193 deleted the args_type_change branch May 18, 2021 07:16
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