File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -191,7 +191,8 @@ func CreateSecurityPolicyEnforcer(
191191}
192192
193193type nopRevertableSectionHandle struct {}
194- func (nopRevertableSectionHandle ) Commit () {}
194+
195+ func (nopRevertableSectionHandle ) Commit () {}
195196func (nopRevertableSectionHandle ) Rollback () {}
196197
197198type OpenDoorSecurityPolicyEnforcer struct {
Original file line number Diff line number Diff line change @@ -25,14 +25,14 @@ import (
2525)
2626
2727func genValidContainerID (t * testing.T , rng * rand.Rand ) string {
28+ t .Helper ()
2829 randBytes := make ([]byte , 32 )
2930 if _ , err := rng .Read (randBytes ); err != nil {
3031 t .Fatalf ("failed to generate random bytes for container ID: %v" , err )
3132 }
3233 return hex .EncodeToString (randBytes )
3334}
3435
35-
3636func setupScratchTemplate (ctx context.Context , tb testing.TB ) string {
3737 tb .Helper ()
3838 opts := defaultLCOWOptions (ctx , tb )
You can’t perform that action at this time.
0 commit comments