Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
Signed-off-by: Wenqi Qiu <[email protected]>
  • Loading branch information
wenqiq committed Mar 23, 2024
1 parent 0d48a72 commit e4638d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/performance/framework/networkpolicy.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func unmarshallNetworkPolicy(yamlFile string) (*netv1.NetworkPolicy, error) {
}

func renderNetworkPolicies(templatePath string, ns string, num int) (nps []*netv1.NetworkPolicy, err error) {
yamlFile := path.Join(templatePath, "service/networkpolicy.yaml")
yamlFile := path.Join(templatePath, "networkpolicy/networkpolicy.yaml")
npTemplate, err := unmarshallNetworkPolicy(yamlFile)
if err != nil {
err = fmt.Errorf("error reading Service template: %+v", err)
Expand Down
2 changes: 1 addition & 1 deletion test/performance/utils/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ func FetchTimestampFromLog(ctx context.Context, kc kubernetes.Interface, namespa
if _, err := io.Copy(&b, podLogs); err != nil {
return false, fmt.Errorf("error when copying logs for Pod '%s/%s': %w", namespace, podName, err)
}
klog.InfoS("GetLogs from probe container", "podName", podName, "namespace", namespace, "logs", b.String())
klog.V(4).InfoS("GetLogs from probe container", "podName", podName, "namespace", namespace, "logs", b.String())
if strings.Contains(b.String(), key) {
changedTimeStamp, err := extractNanoseconds(b.String(), key)
if err != nil {
Expand Down

0 comments on commit e4638d9

Please sign in to comment.