From 45ff3dffa3275388e578a547b65ea6598cb2842b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ro=CC=88ck=2C=20Cedric?= Date: Sun, 13 May 2018 17:41:10 +0200 Subject: [PATCH] circle-ci feedback / gofmt --- pkg/armhelpers/graph.go | 2 +- pkg/armhelpers/mockclients.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/armhelpers/graph.go b/pkg/armhelpers/graph.go index ff664cd544..158668718a 100644 --- a/pkg/armhelpers/graph.go +++ b/pkg/armhelpers/graph.go @@ -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) diff --git a/pkg/armhelpers/mockclients.go b/pkg/armhelpers/mockclients.go index 332839fccd..047d184c7f 100644 --- a/pkg/armhelpers/mockclients.go +++ b/pkg/armhelpers/mockclients.go @@ -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{