treblereel commented on code in PR #3144:
URL: 
https://github.com/apache/incubator-kie-tools/pull/3144#discussion_r2098387202


##########
packages/kn-plugin-workflow/pkg/common/checks.go:
##########
@@ -197,3 +198,23 @@ func CheckProjectName(name string) (err error) {
        }
        return
 }
+
+func IsValidProfile(profile string) error {
+       var allProfiles = []apiMetadata.ProfileType{
+               apiMetadata.DevProfile,
+               apiMetadata.ProdProfile,

Review Comment:
   hmm, apiMetadata.ProdProfile comes from sonataflow-operator, I would create 
a separate issue to remove it form sonataflow-operator and kn-workflow-plugin 
as well
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to