Skip to content

Commit

Permalink
Remove duplicate definition of SecurityContext
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Apolinario <[email protected]>
  • Loading branch information
eapolinario committed Jun 11, 2024
1 parent 23539c2 commit 54b63fa
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions flytepropeller/pkg/apis/flyteworkflow/v1alpha1/workflow.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,31 +194,6 @@ func (in *FlyteWorkflow) GetRawOutputDataConfig() RawOutputDataConfig {
return in.RawOutputDataConfig
}

// type SecurityContext struct {
// *core.SecurityContext
// }

// func (in *SecurityContext) UnmarshalJSON(b []byte) error {
// in.SecurityContext = &core.SecurityContext{}
// return jsonpb.Unmarshal(bytes.NewReader(b), in.SecurityContext)
// }

// func (in *SecurityContext) MarshalJSON() ([]byte, error) {
// if in == nil || in.SecurityContext == nil {
// return nilJSON, nil
// }

// var buf bytes.Buffer
// if err := marshaler.Marshal(&buf, in.SecurityContext); err != nil {
// return nil, err
// }
// return buf.Bytes(), nil
// }

// func (in *SecurityContext) DeepCopyInto(out *SecurityContext) {
// out.SecurityContext = proto.Clone(in.SecurityContext).(*core.SecurityContext)
// }

type Inputs struct {
*core.LiteralMap
}
Expand Down

0 comments on commit 54b63fa

Please sign in to comment.