Skip to content

Commit e14b2a7

Browse files
committed
use &Checkpoint{} for interface assertion
Signed-off-by: Byonggon Chun <[email protected]>
1 parent 96e98a6 commit e14b2a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/dra-example-kubeletplugin/checkpoint.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ type Checkpoint struct {
1414
V1 *CheckpointV1 `json:"v1,omitempty"`
1515
}
1616

17-
var _ checkpointmanager.Checkpoint = (*Checkpoint)(nil)
17+
var _ checkpointmanager.Checkpoint = &Checkpoint{}
1818

1919
type CheckpointV1 struct {
2020
PreparedClaims PreparedClaims `json:"preparedClaims,omitempty"`

0 commit comments

Comments
 (0)