Skip to content

Commit 3c21157

Browse files
authored
Merge pull request kubernetes#6736 from racequite/master
chore: fix function names in comment
2 parents 4ad9c05 + bf89fbb commit 3c21157

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cluster-autoscaler/cloudprovider/brightbox/gobrightbox/server_groups.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,11 @@ func (c *Client) AddServersToServerGroup(identifier string, serverIds []string)
111111
return group, nil
112112
}
113113

114-
// RemoveServersToServerGroup removes servers from an existing server group.
114+
// RemoveServersFromServerGroup removes servers from an existing server group.
115115
//
116116
// The identifier parameter specifies the group.
117117
//
118-
// The serverIds paramater specifies the identifiers of the servers you want to remove.
118+
// The serverIds parameter specifies the identifiers of the servers you want to remove.
119119
func (c *Client) RemoveServersFromServerGroup(identifier string, serverIds []string) (*ServerGroup, error) {
120120
group := new(ServerGroup)
121121
opts := new(serverGroupMemberOptions)

cluster-autoscaler/cloudprovider/brightbox/k8ssdk/util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ func MapZoneHandleToRegion(zoneHandle string) (string, error) {
5252
return zoneHandle[:ix], nil
5353
}
5454

55-
// getEnvVarWithDefault retrieves the value of the environment variable
55+
// getenvWithDefault retrieves the value of the environment variable
5656
// named by the key. If the variable is not present, return the default
5757
// value instead.
5858
func getenvWithDefault(key string, defaultValue string) string {

0 commit comments

Comments
 (0)