binwiederhier 7 months ago
parent
commit
d87d8a2db4
1 changed files with 3 additions and 3 deletions
  1. 3 3
      util/sprig/dict.go

+ 3 - 3
util/sprig/dict.go

@@ -185,9 +185,9 @@ func values(dict map[string]any) []any {
 //
 //
 // Parameters:
 // Parameters:
 //   - ps: A variadic list where:
 //   - ps: A variadic list where:
-//     - The first N-2 arguments are string keys forming the path
-//     - The second-to-last argument is the default value to return if the path doesn't exist
-//     - The last argument is the map to traverse
+//   - The first N-2 arguments are string keys forming the path
+//   - The second-to-last argument is the default value to return if the path doesn't exist
+//   - The last argument is the map to traverse
 //
 //
 // Returns:
 // Returns:
 //   - any: The value found at the specified path, or the default value if not found
 //   - any: The value found at the specified path, or the default value if not found