Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Commit

Permalink
circle-ci feedback / gofmt
Browse files Browse the repository at this point in the history
  • Loading branch information
croeck committed May 13, 2018
1 parent fdc8338 commit 45ff3df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/armhelpers/graph.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func (az *AzureClient) DeleteRoleAssignmentByID(roleAssignmentID string) (author
return az.authorizationClient.DeleteByID(roleAssignmentID)
}

// List all role assignments for a principal (e.g. a VM) via the scope and the unique identifier of the principal
// ListRoleAssignmentsForPrincipal (e.g. a VM) via the scope and the unique identifier of the principal
func (az *AzureClient) ListRoleAssignmentsForPrincipal(scope string, principalID string) (authorization.RoleAssignmentListResult, error) {
filter := fmt.Sprintf("principalId eq '%s'", principalID)
return az.authorizationClient.ListForScope(scope, filter)
Expand Down
2 changes: 1 addition & 1 deletion pkg/armhelpers/mockclients.go
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ func (mc *MockACSEngineClient) DeleteRoleAssignmentByID(roleAssignmentID string)
return authorization.RoleAssignment{}, nil
}

// List all role assignments for a principal (e.g. a VM) via the scope and the unique identifier of the principal
// ListRoleAssignmentsForPrincipal (e.g. a VM) via the scope and the unique identifier of the principal
func (mc *MockACSEngineClient) ListRoleAssignmentsForPrincipal(scope string, principalID string) (authorization.RoleAssignmentListResult, error) {
roleAssignments := []authorization.RoleAssignment{}
return authorization.RoleAssignmentListResult{
Expand Down

0 comments on commit 45ff3df

Please sign in to comment.