Skip to content

Commit 5e3129c

Browse files
committed
fixup! [DEBUG] Add some logging to marker file watcher
1 parent 2aef96d commit 5e3129c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/pkg/agent/application/upgrade/marker_watcher.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,13 +128,13 @@ func (mfw *MarkerFileWatcher) processMarker(currentVersion string, commit string
128128
return
129129
}
130130

131-
mfw.logger.Infof("loaded marker: %+v", marker)
132-
133131
// Nothing to do if marker is not (yet) present
134132
if marker == nil {
135133
return
136134
}
137135

136+
mfw.logger.Infof("loaded marker: %+v details %+v", marker, marker.Details)
137+
138138
// If the marker exists but the version of Agent we're running right
139139
// now is the same as the prevVersion recorded in the marker AND an upgrade
140140
// has not started, it means the upgrade was rolled back. Ideally, this UPG_ROLLBACK state would've

0 commit comments

Comments
 (0)