Skip to content

Commit

Permalink
use empty slice literals instead of nils
Browse files Browse the repository at this point in the history
  • Loading branch information
MarlonGamez committed Jun 9, 2021
1 parent 560bcc7 commit 8f14bd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/skaffold/event/v2/event.go
Original file line number Diff line number Diff line change
Expand Up @@ -309,8 +309,8 @@ func TaskInProgress(task constants.Phase, description string) {
if task == constants.DevLoop {
handler.iteration++

handler.applicationLogs = nil
handler.skaffoldLogs = nil
handler.applicationLogs = []proto.Event{}
handler.skaffoldLogs = []proto.Event{}
}

handler.handleTaskEvent(&proto.TaskEvent{
Expand Down

0 comments on commit 8f14bd0

Please sign in to comment.