Skip to content

Commit 4b908e1

Browse files
palnabarunmjudeikis
authored andcommitted
fix lint issues
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
1 parent b91acd6 commit 4b908e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/admission/workspace/admission.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ func (o *workspace) Admit(ctx context.Context, a admission.Attributes, _ admissi
131131
// - has a valid type and it is not mutated
132132
// - the cluster is not removed
133133
// - the user is recorded in annotations on create
134-
// - the required groups match with the LogicalCluster.
135-
// - only system privileged users can set both spec.Type and spec.Mount
134+
// - the required groups match with the LogicalCluster
135+
// - only system privileged users can set both spec.Type and spec.Mount.
136136
func (o *workspace) Validate(ctx context.Context, a admission.Attributes, _ admission.ObjectInterfaces) (err error) {
137137
clusterName, err := genericapirequest.ClusterNameFrom(ctx)
138138
if err != nil {

0 commit comments

Comments
 (0)