Skip to content

Commit

Permalink
Fix linting issue
Browse files Browse the repository at this point in the history
Signed-off-by: Jeev B <[email protected]>
  • Loading branch information
jeevb committed Nov 8, 2023
1 parent e6aa3cb commit c599167
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions flytepropeller/pkg/controller/nodes/task/taskexec_context.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ const IDMaxLength = 50
type taskExecutionID struct {
execName string
id *core.TaskExecutionIdentifier
uniqueNodeId string
uniqueNodeID string
}

func (te taskExecutionID) GetID() core.TaskExecutionIdentifier {
return *te.id
}

func (te taskExecutionID) GetUniqueNodeID() string {
return te.uniqueNodeId
return te.uniqueNodeID
}

func (te taskExecutionID) GetGeneratedName() string {
Expand Down Expand Up @@ -299,7 +299,7 @@ func (t *Handler) newTaskExecutionContext(ctx context.Context, nCtx interfaces.N
taskExecID: taskExecutionID{
execName: uniqueID,
id: id,
uniqueNodeId: currentNodeUniqueID,
uniqueNodeID: currentNodeUniqueID,
},
o: nCtx.Node(),
maxAttempts: maxAttempts,
Expand Down

0 comments on commit c599167

Please sign in to comment.