Skip to content

Commit c47511b

Browse files
greyerofedcdavid
authored andcommitted
Removed leftover change.
Removing a change I did in the createConfig() func that wasn't finally needed.
1 parent 4640b1c commit c47511b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/pkg/testconfig/testconfig.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1521,7 +1521,7 @@ func createConfig(profileName string, ifaceName, ptp4lOpts *string, ptp4lConfig
15211521
thresholds.MinOffsetThreshold = int64(testParameters.GlobalConfig.MinOffset)
15221522
thresholds.HoldOverTimeout = int64(testParameters.GlobalConfig.HoldOverTimeout)
15231523

1524-
if ptp4lConfig != "" && testParameters.GlobalConfig.DisableAllSlaveRTUpdate && nodeLabel != pkg.PtpGrandmasterNodeLabel && phc2sysOpts != nil {
1524+
if testParameters.GlobalConfig.DisableAllSlaveRTUpdate && nodeLabel != pkg.PtpGrandmasterNodeLabel && phc2sysOpts != nil {
15251525
temp := "-v"
15261526
phc2sysOpts = &temp
15271527
}

0 commit comments

Comments
 (0)