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

Commit

Permalink
Fixes following merge
Browse files Browse the repository at this point in the history
  • Loading branch information
richard-cox committed May 5, 2020
1 parent 48ae0df commit 872d34d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ <h1>Backup Endpoints</h1>
<button mat-raised-button color="primary" [disabled]="disableSelectNone$ | async"
(click)="service.selectNone()">Select None</button>
</div>
<app-table [dataSource]="endpointDataSource" [columns]="columns"></app-table>
<app-table [dataSource]="endpointDataSource" [columns]="columns" [minRowHeight]="'77px'"></app-table>
</div>
<ng-template #noEndpoints>
<p>There are no endpoints to backup</p>
Expand Down
6 changes: 3 additions & 3 deletions src/jetstream/plugins/monocular/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func (m *Monocular) Sync(action interfaces.EndpointAction, endpoint *interfaces.
Status: "Pending",
Busy: true,
}
m.portalProxy.UpdateEndointMetadata(endpoint.GUID, marshalSyncMetadata(metadata))
m.portalProxy.UpdateEndpointMetadata(endpoint.GUID, marshalSyncMetadata(metadata))

// Add the job to the queue to be processed
job := SyncJob{
Expand Down Expand Up @@ -127,7 +127,7 @@ func (m *Monocular) processSyncRequests() {
Status: "Synchronizing",
Busy: true,
}
m.portalProxy.UpdateEndointMetadata(job.Endpoint.GUID, marshalSyncMetadata(metadata))
m.portalProxy.UpdateEndpointMetadata(job.Endpoint.GUID, marshalSyncMetadata(metadata))
syncURL := fmt.Sprintf("%s%s/sync/%s", m.SyncServiceURL, chartRepoPathPrefix, job.Endpoint.Name)

//Hit the sync server container endpoint to trigger a sync for given repo
Expand Down Expand Up @@ -228,7 +228,7 @@ func marshalSyncMetadata(metadata SyncMetadata) string {
}

func (m *Monocular) updateMetadata(endpoint string, metadata SyncMetadata) {
err := m.portalProxy.UpdateEndointMetadata(endpoint, marshalSyncMetadata(metadata))
err := m.portalProxy.UpdateEndpointMetadata(endpoint, marshalSyncMetadata(metadata))
if err != nil {
log.Errorf("Failed to update endpoint metadata: %v+", err)
}
Expand Down

0 comments on commit 872d34d

Please sign in to comment.