(infos map[string]string)
| 149 | } |
| 150 | |
| 151 | func serverlessPlatformMatched(infos map[string]string) (match bool) { |
| 152 | if len(DeprecatedServerlessPlatformKey) == 0 { |
| 153 | return |
| 154 | } |
| 155 | |
| 156 | return KeyMatched(infos, DeprecatedServerlessPlatformKey) |
| 157 | } |
| 158 | |
| 159 | func SkipPrecheckEnable(infos map[string]string) (match bool) { |
| 160 | return enabled(infos, common.SkipPrecheckAnnotationKey) |