Skip to content

Commit

Permalink
Omit empty annotation/labels
Browse files Browse the repository at this point in the history
  • Loading branch information
liggitt committed Dec 10, 2017
1 parent 2ee47d0 commit 288c68d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/process.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ func DefaultGenerateOptions() GenerateOptions {
ExpandMultipleNamespacesToClusterScoped: true,

NamePrefix: "audit2rbac",
Labels: map[string]string{},
Annotations: map[string]string{},
Labels: nil,
Annotations: nil,
}
}

Expand Down

0 comments on commit 288c68d

Please sign in to comment.