Skip to content

Commit

Permalink
Merge pull request #83 from zdtsw-forking/cherrypick_665
Browse files Browse the repository at this point in the history
fix: wrong trustyai env variable name
  • Loading branch information
zdtsw authored Oct 25, 2023
2 parents 591ad39 + cf0b13d commit 70e398f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/trustyai/trustyai.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ var _ components.ComponentInterface = (*TrustyAI)(nil)
func (t *TrustyAI) ReconcileComponent(cli client.Client, owner metav1.Object, dscispec *dsciv1.DSCInitializationSpec) error {
var imageParamMap = map[string]string{
"trustyaiServiceImage": "RELATED_IMAGE_ODH_TRUSTYAI_SERVICE_IMAGE",
"trustyaiOperatorImage": "RELATED_IMAGE_ODH_TRUSTYAI_OPERATOR_IMAGE",
"trustyaiOperatorImage": "RELATED_IMAGE_ODH_TRUSTYAI_SERVICE_OPERATOR_IMAGE",
}
enabled := t.GetManagementState() == operatorv1.Managed

Expand Down

0 comments on commit 70e398f

Please sign in to comment.