• Kubernetes Submit Queue's avatar
    Merge pull request #59713 from hanxiaoshuai/fix0211 · f05a0657
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 60208, 60084, 60183, 59713, 60096). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
    
    Use SeekStart, SeekCurrent, and SeekEnd repalace of deprecated constant
    
    **What this PR does / why we need it**:
    Use SeekStart, SeekCurrent, and SeekEnd repalace of deprecated constant.
    '''
    // Deprecated: Use io.SeekStart, io.SeekCurrent, and io.SeekEnd.
    const (
    	SEEK_SET int = 0 // seek relative to the origin of the file
    	SEEK_CUR int = 1 // seek relative to the current offset
    	SEEK_END int = 2 // seek relative to the end
    )
    
    '''
    **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
    Fixes #
    
    **Special notes for your reviewer**:
    
    **Release note**:
    
    ```release-note
    NONE
    ```
    f05a0657
Name
Last commit
Last update
..
BUILD Loading commit data...
tail.go Loading commit data...
tail_test.go Loading commit data...