feat: add the fn annotations to newdeploy function based deployment (#2554)

* feat: add copy the fn annotations to the deploy annotations

* feat: add copy the fn labels to the deploy labels
This commit is contained in:
Ambor
2022-09-22 14:21:27 +05:30
committed by GitHub
parent e87c84ee2c
commit da50c3759d
2 changed files with 10 additions and 4 deletions
+6
View File
@@ -22,3 +22,9 @@ func CopyStringMap(m map[string]string) map[string]string {
}
return n
}
func MergeStringMap(targetMap map[string]string, sourceMap map[string]string) {
for k, v := range sourceMap {
targetMap[k] = v
}
}