Skip to content

Commit

Permalink
Rename getAdditionalAnnotations() to getAdditionalDeploymentAnnotatio…
Browse files Browse the repository at this point in the history
…ns()

Signed-off-by: David Kwon <[email protected]>
  • Loading branch information
dkwon17 committed Jun 11, 2024
1 parent f7efbb5 commit ef7b885
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/provision/workspace/deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ func getSpecDeployment(
labels[constants.DevWorkspaceIDLabel] = workspace.Status.DevWorkspaceId
labels[constants.DevWorkspaceNameLabel] = workspace.Name

annotations, err := getAdditionalAnnotations(workspace)
annotations, err := getAdditionalDeploymentAnnotations(workspace)
if err != nil {
return nil, err
}
Expand Down Expand Up @@ -377,7 +377,7 @@ func needsPVCWorkaround(podAdditions *v1alpha1.PodAdditions, pvcName string) (ne
return false, ""
}

func getAdditionalAnnotations(workspace *common.DevWorkspaceWithConfig) (map[string]string, error) {
func getAdditionalDeploymentAnnotations(workspace *common.DevWorkspaceWithConfig) (map[string]string, error) {
annotations := map[string]string{}

for _, component := range workspace.Spec.Template.Components {
Expand Down

0 comments on commit ef7b885

Please sign in to comment.