Skip to content

Commit

Permalink
Prevent the crash when adding duplicate vars
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeyzimarev committed Nov 9, 2021
1 parent aefe5fe commit 29bcaa7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .idea/.idea.AutoDevOps/.idea/markdown.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Ubiquitous.AutoDevOps.Stack/Resources/KubeSecret.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public static class KubeSecret {

if (extraData != null) {
foreach (var (key, value) in extraData) {
vars.Add(key, value);
vars.TryAdd(key, value);
}
}

Expand Down

0 comments on commit 29bcaa7

Please sign in to comment.